summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_culling.lua
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-05-21 01:37:17 +0200
committerArthur LAURENT <[email protected]>2025-05-21 04:53:30 +0200
commit8b4e9f90ba045edb14cb2800c506ee6bc5118cd7 (patch)
treeffa4bc5edf9e19d953689fde3cc811382397e786 /tests/projects/c++/modules/test_culling.lua
parentbfc0f75db8c238187aa011f522adf9685e023b31 (diff)
(C++ modules support) refactor tests
Diffstat (limited to 'tests/projects/c++/modules/test_culling.lua')
-rw-r--r--tests/projects/c++/modules/test_culling.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/test_culling.lua b/tests/projects/c++/modules/test_culling.lua
new file mode 100644
index 000000000..66f96227a
--- /dev/null
+++ b/tests/projects/c++/modules/test_culling.lua
@@ -0,0 +1,13 @@
+inherit("test_base")
+
+CLANG_MIN_VER = "17"
+GCC_MIN_VER = "11"
+MSVC_MIN_VER = "14.29"
+
+function main(_)
+ local check_outdata = {str = "culled", format_string = "Modules culling does not work"}
+ local clang_options = {compiler = "clang", version = CLANG_MIN_VER, check_outdata = check_outdata}
+ local gcc_options = {compiler = "gcc", version = GCC_MIN_VER, check_outdata}
+ local msvc_options = {version = MSVC_MIN_VER, check_outdata}
+ run_tests(clang_options, gcc_options, msvc_options)
+end