aboutsummaryrefslogtreecommitdiff
path: root/ricochet/etc/tests.cmake
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-04-11 00:50:38 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-04-11 00:50:38 +0800
commit3f39df2356504bc68a4e493a723fd4d907c43ff4 (patch)
treebe4ae162d30306be3ddb8b09ea94efb0719421a2 /ricochet/etc/tests.cmake
downloadrcc-project-3f39df2356504bc68a4e493a723fd4d907c43ff4.tar.gz
rcc-project-3f39df2356504bc68a4e493a723fd4d907c43ff4.tar.xz
feat: initialize project structure with CMake build system, C++23 support, and core browser scaffolding
Diffstat (limited to 'ricochet/etc/tests.cmake')
-rw-r--r--ricochet/etc/tests.cmake19
1 files changed, 19 insertions, 0 deletions
diff --git a/ricochet/etc/tests.cmake b/ricochet/etc/tests.cmake
new file mode 100644
index 0000000..f32724e
--- /dev/null
+++ b/ricochet/etc/tests.cmake
@@ -0,0 +1,19 @@
+include(CTest)
+
+# list(APPEND CMAKE_CTEST_ARGUMENTS --output-on-failure --stop-on-failure --timeout 15 -E 'speed_test|optimization|webget')
+
+# set(compile_name "compile with bug-checkers")
+# add_test(NAME ${compile_name}
+# COMMAND "${CMAKE_COMMAND}" --build "${CMAKE_BINARY_DIR}" -t functionality_testing webget)
+
+# macro (ttest name)
+# add_test(NAME ${name} COMMAND "${name}_sanitized")
+# set_property(TEST ${name} PROPERTY FIXTURES_REQUIRED compile)
+# endmacro (ttest)
+
+# set_property(TEST ${compile_name} PROPERTY TIMEOUT 0)
+# set_tests_properties(${compile_name} PROPERTIES FIXTURES_SETUP compile)
+
+# add_test(NAME t_webget COMMAND "${PROJECT_SOURCE_DIR}/tests/webget_t.sh" "${PROJECT_BINARY_DIR}")
+# set_property(TEST t_webget PROPERTY FIXTURES_REQUIRED compile)
+