]> Git Repo - qemu.git/commitdiff
rtc-test: Fix test failures with recent glib
authorCole Robinson <[email protected]>
Wed, 27 Feb 2013 00:31:32 +0000 (19:31 -0500)
committerStefan Hajnoczi <[email protected]>
Fri, 8 Mar 2013 09:16:54 +0000 (10:16 +0100)
As of glib 2.35.4, glib changed its logic for ordering test cases:

https://bugzilla.gnome.org/show_bug.cgi?id=694487

This was causing failures in rtc-test. Group the reordered test
cases into their own suite, which maintains the original ordering.

CC: [email protected]
Signed-off-by: Cole Robinson <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
tests/rtc-test.c

index c5fd042610f81fad3a91ae5450676c8317e38159..9ab583b860135d8f89a8948bf63f6488345992cb 100644 (file)
@@ -565,8 +565,8 @@ int main(int argc, char **argv)
     qtest_add_func("/rtc/basic/bcd-12h", basic_12h_bcd);
     qtest_add_func("/rtc/set-year/20xx", set_year_20xx);
     qtest_add_func("/rtc/set-year/1980", set_year_1980);
-    qtest_add_func("/rtc/register_b_set_flag", register_b_set_flag);
-    qtest_add_func("/rtc/fuzz-registers", fuzz_registers);
+    qtest_add_func("/rtc/misc/register_b_set_flag", register_b_set_flag);
+    qtest_add_func("/rtc/misc/fuzz-registers", fuzz_registers);
     ret = g_test_run();
 
     if (s) {
This page took 0.028374 seconds and 4 git commands to generate.