File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,15 @@ function(cppfront_build_tests)
145
145
configure_file ("cmake/CMakeLists.txt.in" "${test_dir} /CMakeLists.txt" @ONLY )
146
146
configure_file ("cmake/test-case-config.cmake.in" "${test_dir} /test-case-config.cmake.in" COPYONLY )
147
147
148
+ set (
149
+ cxx_23_tests
150
+ pure2-bugfix-for-empty-index
151
+ )
152
+ set (extra_flags )
153
+ if (test_name IN_LIST cxx_23_tests )
154
+ list (APPEND extra_flags "-DCMAKE_CXX_STANDARD=23" )
155
+ endif ()
156
+
148
157
add_test (
149
158
NAME "build/${test_name} "
150
159
COMMAND
@@ -157,6 +166,7 @@ function(cppfront_build_tests)
157
166
"-Dcppfront_DIR=${cppfront_DIR} "
158
167
"-Dcppfront-exe_DIR=${cppfront-exe_DIR}"
159
168
"-DCPPFRONT_FLAGS=${ARG_EXTRA_FLAGS} "
169
+ ${extra_flags}
160
170
# There's `CMAKE_CXX_LINKER_LAUNCHER`, too. So far, it's not needed.
161
171
"-DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_COMMAND} ;-D;OUTPUT_FILE=${gen_cpp_src} .output;-P;../../ExecuteWithRedirection.cmake;--"
162
172
)
You can’t perform that action at this time.
0 commit comments