Peter Krempa
68bb5f9fa6
testutilsqemu: Improve error propagation from 'testQemuInfoSetArgs'
...
Previously we've ran into problems when 'testQemuInfoSetArgs' failed as
calling the actual test executor could lead to a crash if the data
wasn't prepared but reporting an error doesn't play nicely with our test
output which is handled by 'virTestRun'.
To avoid the issue (and as a side effect improve compilation times of
the test files) split up testQemuInfoSetArgs into two functions.
The first is still called 'testQemuInfoSetArgs' and just blindly
populates arguments into a sub-struct of testQemuInfo. This function no
longer reports errors
A new function 'testQemuInfoInitArgs' which is meant to be called from
the test executor then checks errors and prepares the test data. This
one can fail and the test will be marked as failed appropriately.
A nice side effect is that this vastly improves compile times of
qemuxml2xmltest and qemuxml2argvtest.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-08-18 10:20:49 +02:00
..
2020-10-19 11:50:49 +02:00
2021-03-20 07:53:45 +04:00
2021-04-21 14:20:03 +02:00
2021-02-08 18:50:47 +04:00
2019-12-03 13:57:44 +00:00
2021-04-12 15:55:10 +02:00
2021-05-07 18:02:48 +02:00
2020-07-08 08:40:30 +02:00
2020-07-08 08:40:30 +02:00
2021-08-04 09:58:09 +02:00
2020-10-20 09:05:10 +02:00
2019-12-03 13:57:44 +00:00
2021-08-17 13:50:38 +02:00
2021-07-20 16:43:46 +02:00
2020-09-18 08:51:47 +02:00
2020-02-06 15:00:57 +01:00
2020-04-23 10:59:33 +02:00
2020-11-24 14:21:08 -05:00
2021-07-16 14:50:57 +02:00
2021-07-16 14:50:57 +02:00
2021-07-16 14:50:57 +02:00
2021-08-06 15:02:38 -05:00
2021-05-27 15:38:19 +02:00
2021-05-27 15:38:28 +02:00
2021-01-04 15:33:31 +01:00
2021-04-12 15:55:10 +02:00
2020-10-20 09:05:10 +02:00
2019-12-03 13:57:44 +00:00
2021-05-19 10:19:47 +02:00
2021-08-18 10:00:34 +02:00
2020-11-20 12:09:51 +00:00
2019-07-26 16:48:58 -05:00
2021-03-09 22:58:30 +00:00
2021-01-08 15:27:00 +01:00
2021-03-09 22:58:30 +00:00
2021-05-03 12:14:44 +02:00
2021-05-03 12:14:44 +02:00
2021-05-03 12:14:44 +02:00
2021-07-09 13:15:13 +01:00
2020-03-16 16:00:27 +00:00
2020-11-06 09:14:01 +01:00
2021-07-12 16:34:07 +02:00
2019-09-24 13:19:08 -04:00
2021-08-18 10:00:22 +02:00
2021-08-04 09:58:16 +02:00
2021-01-08 09:18:21 +01:00
2019-12-20 14:31:08 +01:00
2021-04-12 15:55:10 +02:00
2020-07-23 16:18:09 +01:00
2020-07-23 16:18:09 +01:00
2021-05-21 14:00:43 +02:00
2021-05-21 14:00:43 +02:00
2021-05-21 14:00:43 +02:00
2020-06-10 14:00:38 +02:00
2021-07-15 14:50:48 +02:00
2021-02-10 13:37:12 +01:00
2020-06-26 15:36:40 +01:00
2019-07-19 10:52:06 +02:00
2020-05-25 16:09:58 +02:00
2020-03-20 09:47:16 +01:00
2020-10-05 10:28:43 +01:00
2020-02-25 15:43:56 +00:00
2019-12-17 10:04:43 +01:00
2021-08-16 14:22:38 +02:00
2020-12-07 15:38:31 -07:00
2020-12-07 15:38:31 -07:00
2021-04-01 13:36:35 +02:00
2020-03-09 15:46:42 +01:00
2021-04-13 17:00:38 +02:00
2020-09-22 17:19:26 +04:00
2021-04-13 17:00:38 +02:00
2021-04-21 14:20:03 +02:00
2021-02-08 18:50:47 +04:00
2021-03-05 15:33:34 +01:00
2021-05-24 20:26:20 +02:00
2021-08-17 18:27:13 +02:00
2021-07-22 15:07:17 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2019-10-15 16:14:19 +02:00
2020-09-02 10:28:10 +02:00
2021-05-17 09:25:32 +02:00
2020-09-23 16:49:01 +02:00
2021-08-17 13:50:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-18 09:09:37 -06:00
2021-06-21 10:43:04 -06:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-06-14 12:06:01 +02:00
2021-08-17 18:27:13 +02:00
2021-04-21 14:18:18 +02:00
2021-04-21 14:19:26 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 15:02:36 -05:00
2021-08-06 15:02:32 -05:00
2019-10-15 11:25:25 +02:00
2020-07-10 09:40:58 +02:00
2021-01-04 15:33:31 +01:00
2021-04-21 14:19:26 +02:00
2021-08-06 08:53:26 +02:00
2021-04-13 17:00:38 +02:00
2020-02-24 23:15:50 +01:00
2021-08-16 14:22:38 +02:00
2020-06-26 15:36:40 +01:00
2021-05-18 10:02:24 +02:00
2021-08-09 10:09:00 +02:00
2021-08-16 14:22:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-17 18:27:13 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-03 12:14:44 +02:00
2020-08-03 07:23:46 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-18 09:57:34 +02:00
2021-08-16 14:22:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-23 11:30:31 +02:00
2021-05-18 13:18:05 +02:00
2021-02-11 17:05:33 +01:00
2021-08-18 10:20:49 +02:00
2021-02-11 17:05:34 +01:00
2021-07-22 15:55:26 +02:00
2021-08-18 10:20:49 +02:00
2021-08-18 10:20:49 +02:00
2021-05-17 09:25:32 +02:00
2021-05-17 09:25:32 +02:00
2021-04-13 17:00:38 +02:00
2021-05-10 13:32:43 +02:00
2021-07-26 21:08:17 +02:00
2021-08-16 14:22:38 +02:00
2019-10-15 11:25:25 +02:00
2020-08-03 09:27:00 +02:00
2020-11-19 17:25:44 +01:00
2020-02-04 14:00:45 +00:00
2019-11-12 16:15:59 +01:00
2021-05-17 09:25:32 +02:00
2021-04-13 17:00:38 +02:00
2020-07-23 16:18:09 +01:00
2021-05-21 14:00:43 +02:00
2021-05-21 14:00:43 +02:00
2021-04-13 17:00:38 +02:00
2020-09-23 11:30:05 +02:00
2021-08-06 08:53:25 +02:00
2021-05-17 09:26:05 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-18 10:20:49 +02:00
2021-08-18 10:20:49 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-08-03 07:23:45 +02:00
2021-04-13 17:00:38 +02:00
2021-03-22 12:44:18 +01:00
2021-04-13 17:00:38 +02:00
2021-05-17 09:25:32 +02:00
2021-04-13 17:00:38 +02:00
2021-06-15 11:03:56 +02:00
2021-06-15 16:58:22 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-17 09:25:32 +02:00
2021-02-02 15:00:55 +01:00
2019-10-11 12:20:08 -04:00
2021-05-24 20:26:20 +02:00
2021-05-17 09:25:32 +02:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2021-04-13 17:00:38 +02:00
2021-06-14 12:05:50 +02:00
2020-09-02 10:28:10 +02:00
2021-08-06 08:53:25 +02:00
2021-04-21 14:18:51 +02:00
2021-04-21 14:19:26 +02:00
2020-09-17 18:19:56 +02:00
2021-04-13 17:00:38 +02:00
2020-05-06 16:24:31 +02:00
2021-04-13 17:00:38 +02:00
2020-11-09 12:25:49 +01:00
2021-05-13 11:07:16 +01:00
2021-04-12 15:55:10 +02:00
2021-04-13 17:00:38 +02:00
2020-02-24 23:15:49 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-17 09:25:32 +02:00
2021-04-13 17:00:38 +02:00
2020-09-04 10:20:49 +02:00
2020-11-27 16:28:31 +01:00
2021-02-10 11:03:39 +01:00
2020-07-23 14:58:16 +01:00
2021-04-13 17:00:38 +02:00
2021-08-17 18:27:13 +02:00
2019-11-12 16:15:59 +01:00
2020-12-17 09:27:51 +01:00
2019-11-19 15:22:43 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-06-04 11:42:59 +01:00
2021-04-13 17:00:38 +02:00
2021-05-18 10:02:24 +02:00
2020-09-02 10:28:10 +02:00
2021-04-13 17:00:38 +02:00
2020-02-25 15:43:56 +00:00
2021-05-17 15:54:20 +02:00
2021-04-13 17:00:38 +02:00
2021-08-06 08:53:25 +02:00
2021-04-13 17:00:38 +02:00
2020-10-02 12:43:15 +02:00
2020-09-02 10:28:10 +02:00
2021-04-13 17:00:38 +02:00
2021-03-08 22:41:40 +01:00
2019-11-12 16:15:59 +01:00
2021-05-17 09:25:32 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-05-17 09:25:32 +02:00
2021-03-22 12:05:18 +01:00
2020-03-06 17:02:10 +00:00
2020-11-23 14:44:39 +01:00
2021-01-06 09:25:07 +01:00
2021-06-02 16:43:57 +02:00
2020-11-23 14:44:39 +01:00
2020-11-23 14:44:39 +01:00
2020-11-23 14:44:39 +01:00
2021-01-06 09:25:07 +01:00
2020-08-03 09:26:36 +02:00
2020-11-23 14:44:39 +01:00
2021-01-06 09:25:07 +01:00
2021-08-03 14:22:10 +02:00
2021-04-13 17:00:38 +02:00
2019-10-16 12:06:43 +02:00
2021-04-12 15:55:10 +02:00
2021-07-07 16:23:37 +02:00
2020-08-03 09:27:06 +02:00
2021-04-21 10:02:09 +02:00
2020-01-29 14:51:40 +00:00
2019-10-15 16:14:19 +02:00
2021-04-13 17:00:38 +02:00
2019-11-12 16:15:59 +01:00
2021-04-13 17:00:38 +02:00
2019-11-12 16:15:59 +01:00
2021-08-16 14:22:38 +02:00
2021-04-13 17:00:38 +02:00
2021-06-21 10:43:04 -06:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00