summaryrefslogtreecommitdiff
path: root/tests/test_invalid_rep.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:42 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:05:42 +0900
commit72112ecf818b3b411298b05f081bb10705d62119 (patch)
tree1698b1df233c41aaaf2fb7b4f026e941ab58f3e8 /tests/test_invalid_rep.cpp
parent4d15d0dcd4772f57f729a69d2c497461820ccb37 (diff)
XS_TEST_MAIN used instead of main in test programs
This is the first step towards making test programs run on Windows. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/test_invalid_rep.cpp')
-rw-r--r--tests/test_invalid_rep.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_invalid_rep.cpp b/tests/test_invalid_rep.cpp
index 9ed2145..70a14e5 100644
--- a/tests/test_invalid_rep.cpp
+++ b/tests/test_invalid_rep.cpp
@@ -19,11 +19,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "../include/xs.h"
-#include <assert.h>
-#include <stdio.h>
+#include "testutil.hpp"
-int main (int argc, char *argv [])
+int XS_TEST_MAIN ()
{
fprintf (stderr, "test_invalid_rep running...\n");