aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg-tests/catch.cpp
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2019-07-18 19:07:00 -0700
committerGriffin Downs <35574547+grdowns@users.noreply.github.com>2019-07-18 19:07:00 -0700
commit825055378998ae6bc24e8cb0bce2e1fbf9a425da (patch)
treedce29d762b06e5f44e985051c3d5520c7ca1cc19 /toolsrc/src/vcpkg-tests/catch.cpp
parent9b5ee9941232dc3dd07085de747b1e95bb059525 (diff)
downloadvcpkg-825055378998ae6bc24e8cb0bce2e1fbf9a425da.tar.gz
vcpkg-825055378998ae6bc24e8cb0bce2e1fbf9a425da.zip
Rewrite the tests! now they're cross-platform! (#7315)
* begin exploratory rewriting of tests * continue working on tests * more test work! holy butts vcpkg-tests/plan.cpp was a bunch of work * finish writing new tests - [x] write catch2 tests - [ ] rewrite/at least delete the VS project files - [ ] document running tests * Fix tests to work on WSL, rewrite test vcxproj still need to test on macOS also, delete tests.pch.h * Condense add_test calls
Diffstat (limited to 'toolsrc/src/vcpkg-tests/catch.cpp')
-rw-r--r--toolsrc/src/vcpkg-tests/catch.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolsrc/src/vcpkg-tests/catch.cpp b/toolsrc/src/vcpkg-tests/catch.cpp
new file mode 100644
index 000000000..701dcb39a
--- /dev/null
+++ b/toolsrc/src/vcpkg-tests/catch.cpp
@@ -0,0 +1,11 @@
+#define CATCH_CONFIG_RUNNER
+#include <vcpkg-tests/catch.h>
+
+#include <vcpkg/base/system.debug.h>
+
+int main(int argc, char** argv)
+{
+ vcpkg::Debug::g_debugging = true;
+
+ return Catch::Session().run(argc, argv);
+}