summaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-02-16 10:06:26 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:06:26 +0900
commit0d384b7944c20f3389c2be9363afac99783d776a (patch)
treed822fba1515fe42a6a315418689f9a8d285abad1 /tests/tests.cpp
parent8dc92e7d54e489b7d2978d0ef191c74c9efde27b (diff)
Windows test system improved
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index dc55e97..1a3a2e0 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -21,8 +21,12 @@
// This file is used only in MSVC build.
// It gathers all the tests into a single executable.
+#include "testutil.hpp"
+
#include <assert.h>
+#undef XS_TEST_MAIN
+
#define XS_TEST_MAIN hwm
#include "hwm.cpp"
#undef XS_TEST_MAIN
@@ -116,5 +120,8 @@ int main ()
rc = timeo ();
assert (rc == 0);
+ fprintf (stderr, "SUCCESS\n");
+ xs_sleep (1);
+
return 0;
} \ No newline at end of file