aboutsummaryrefslogtreecommitdiff
path: root/src/zencompute-test/zencompute-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencompute-test/zencompute-test.cpp')
-rw-r--r--src/zencompute-test/zencompute-test.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/zencompute-test/zencompute-test.cpp b/src/zencompute-test/zencompute-test.cpp
new file mode 100644
index 000000000..60aaeab1d
--- /dev/null
+++ b/src/zencompute-test/zencompute-test.cpp
@@ -0,0 +1,16 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include <zencompute/zencompute.h>
+#include <zencore/testing.h>
+
+#include <zencore/memory/newdelete.h>
+
+int
+main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
+{
+#if ZEN_WITH_TESTS
+ return zen::testing::RunTestMain(argc, argv, "zencompute-test", zen::zencompute_forcelinktests);
+#else
+ return 0;
+#endif
+}