summaryrefslogtreecommitdiffhomepage
path: root/tests/custom/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/custom/CMakeLists.txt')
-rw-r--r--tests/custom/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/custom/CMakeLists.txt b/tests/custom/CMakeLists.txt
new file mode 100644
index 0000000..9672fce
--- /dev/null
+++ b/tests/custom/CMakeLists.txt
@@ -0,0 +1,7 @@
+ADD_TEST(
+ NAME custom
+ COMMAND run_tests.sh
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+SET_PROPERTY(TEST custom APPEND PROPERTY ENVIRONMENT "UCODE_BIN=$<TARGET_FILE:ucode>")