summaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorPaul Colomiets <paul@colomiets.name>2012-03-25 11:31:39 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-03-25 11:31:39 +0200
commitced08bf37a9ea807ac5755fff7c120eeec09dc30 (patch)
tree2b1f570f94a4038c59ffa86421f1cea5c6c13a45 /tests/tests.cpp
parent13f5bf063e5680966a4c0cff5b34b121ec69a70e (diff)
wireformat test added
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index ca1b2eb..d4756ab 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -99,6 +99,10 @@
#include "polltimeo.cpp"
#undef XS_TEST_MAIN
+#define XS_TEST_MAIN wireformat
+#include "wireformat.cpp"
+#undef XS_TEST_MAIN
+
int main ()
{
int rc;
@@ -137,6 +141,8 @@ int main ()
assert (rc == 0);
rc = polltimeo ();
assert (rc == 0);
+ rc = wireformat ();
+ assert (rc == 0);
fprintf (stderr, "SUCCESS\n");
sleep (1);