From 033965b8ccada5f247a68ac92da23a73a37d9d90 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 20 Jan 2018 21:26:32 +0000 Subject: Make the monolith test a C++ binary. This way, developers compile toxcore, toxav, and toxencryptsave as C++ at least once at home, reducing the likelyhood of running into travis failures where we compile as C++ in the windows build. --- auto_tests/monolith_test.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 auto_tests/monolith_test.cpp (limited to 'auto_tests/monolith_test.cpp') diff --git a/auto_tests/monolith_test.cpp b/auto_tests/monolith_test.cpp new file mode 100644 index 00000000..253d2bd3 --- /dev/null +++ b/auto_tests/monolith_test.cpp @@ -0,0 +1,16 @@ +/* Auto Tests: One instance. + */ + +#define _DARWIN_C_SOURCE +#define _XOPEN_SOURCE 600 + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "../other/monolith.h" + +int main(int argc, char *argv[]) +{ + return 0; +} -- cgit v1.2.3