]> Git Repo - qemu.git/blobdiff - tests/rtc-test.c
Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2016-07-19' into staging
[qemu.git] / tests / rtc-test.c
index 9ab583b860135d8f89a8948bf63f6488345992cb..a086efd12096c4589d994ff52576b0dfa491c719 100644 (file)
  * See the COPYING file in the top-level directory.
  *
  */
-#include "libqtest.h"
-#include "hw/mc146818rtc_regs.h"
 
-#include <glib.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
+#include "qemu/osdep.h"
+
+#include "libqtest.h"
+#include "hw/timer/mc146818rtc_regs.h"
 
 static uint8_t base = 0x70;
 
@@ -552,7 +549,7 @@ int main(int argc, char **argv)
 
     g_test_init(&argc, &argv, NULL);
 
-    s = qtest_start("-display none -rtc clock=vm");
+    s = qtest_start("-rtc clock=vm");
     qtest_irq_intercept_in(s, "ioapic");
 
     qtest_add_func("/rtc/check-time/bcd", bcd_check_time);
This page took 0.023737 seconds and 4 git commands to generate.