diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-11 00:50:38 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-11 00:50:38 +0800 |
| commit | 44ad3c8b36540c6b0b3144a21ac40310e163bb19 (patch) | |
| tree | ec2b75f68771fcbed8ba7450d30da1f05ebfc52c /etc/tests.cmake | |
| download | rwebbrowser-44ad3c8b36540c6b0b3144a21ac40310e163bb19.tar.gz rwebbrowser-44ad3c8b36540c6b0b3144a21ac40310e163bb19.tar.xz | |
feat: initialize project structure with CMake build system, C++23 support, and core browser scaffolding
Diffstat (limited to 'etc/tests.cmake')
| -rw-r--r-- | etc/tests.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/tests.cmake b/etc/tests.cmake new file mode 100644 index 0000000..f32724e --- /dev/null +++ b/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) + |
