summaryrefslogtreecommitdiff
path: root/test/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/main.cpp')
-rw-r--r--test/src/main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/src/main.cpp b/test/src/main.cpp
deleted file mode 100644
index d01cf75ffc..0000000000
--- a/test/src/main.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <mbgl/test.hpp>
-#include <unistd.h>
-#include <cstring>
-#include <cerrno>
-#include <cstdio>
-
-#define xstr(s) str(s)
-#define str(s) #s
-
-int main(int argc, char *argv[]) {
-#ifdef WORK_DIRECTORY
- const int result = chdir(xstr(WORK_DIRECTORY));
- if (result != 0) {
- fprintf(stderr, "failed to change directory: %s\n", strerror(errno));
- return errno;
- }
-#endif
-
- return mbgl::runTests(argc, argv);
-}