summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/tests/run_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bx/tests/run_test.cpp')
-rw-r--r--3rdparty/bx/tests/run_test.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/3rdparty/bx/tests/run_test.cpp b/3rdparty/bx/tests/run_test.cpp
new file mode 100644
index 00000000000..1616fe33c2c
--- /dev/null
+++ b/3rdparty/bx/tests/run_test.cpp
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2010-2017 Branimir Karadzic. All rights reserved.
+ * License: https://github.com/bkaradzic/bx#license-bsd-2-clause
+ */
+
+#define CATCH_CONFIG_RUNNER
+#include "test.h"
+
+int runAllTests(int _argc, const char* _argv[])
+{
+ DBG("Compiler: " BX_COMPILER_NAME
+ ", CPU: " BX_CPU_NAME
+ ", Architecture: " BX_ARCH_NAME
+ ", OS: " BX_PLATFORM_NAME
+ ", CRT: " BX_CRT_NAME
+ ", Date: " __DATE__
+ ", Time: " __TIME__
+ );
+ return Catch::Session().run(_argc, _argv);
+}