summaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 21d10e3..3d7951c 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -111,6 +111,10 @@
#include "resubscribe.cpp"
#undef XS_TEST_MAIN
+#define XS_TEST_MAIN survey
+#include "survey.cpp"
+#undef XS_TEST_MAIN
+
int main ()
{
int rc;
@@ -155,7 +159,8 @@ int main ()
assert (rc == 0);
rc = resubscribe ();
assert (rc == 0);
-
+ rc = survey ();
+ assert (rc == 0);
fprintf (stderr, "SUCCESS\n");
sleep (1);