From c332a89738c4f151add3a88fd9c38d3b347a68fa Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sat, 31 Jan 2015 14:27:13 -0800 Subject: [PATCH] Don't run finicky or abusive tests by default - But keep them around for such times as when we're not sure why a particular emulated program is not working =) --- src/test/testdisk.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/test/testdisk.c b/src/test/testdisk.c index 7dd4106b..bc7260b9 100644 --- a/src/test/testdisk.c +++ b/src/test/testdisk.c @@ -13,6 +13,9 @@ #define RESET_INPUT() test_common_setup() +#define ABUSIVE_TESTS 0 +#define FINICKY_TESTS 0 + #define TESTING_DISK "testvm1.dsk.gz" #define BLANK_DSK "blank.dsk.gz" #define BLANK_NIB "blank.nib.gz" @@ -998,13 +1001,15 @@ GREATEST_SUITE(test_suite_disk) { #if ABUSIVE_TESTS RUN_TESTp(test_boot_disk_cputrace); #endif + +#if FINICKY_TESTS RUN_TESTp(test_cputrace_hello_dsk); RUN_TESTp(test_cputrace_hello_nib); RUN_TESTp(test_cputrace_hello_po); - RUN_TESTp(test_boot_disk_vmtrace); RUN_TESTp(test_boot_disk_vmtrace_nib); RUN_TESTp(test_boot_disk_vmtrace_po); +#endif RUN_TESTp(test_boot_disk); @@ -1016,6 +1021,8 @@ GREATEST_SUITE(test_suite_disk) { RUN_TESTp(test_disk_bytes_savehello_nib); RUN_TESTp(test_disk_bytes_savehello_po); + c_debugger_set_timeout(60); + RUN_TESTp(test_outofspace_dsk); RUN_TESTp(test_outofspace_nib); RUN_TESTp(test_outofspace_po);