File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -333,16 +333,16 @@ foreach(filename ${ae_overflow_files})
333333 )
334334endforeach ()
335335
336- ## loops over ae_nullptr_deref_files and run "ae -null-ptr-deref $bc_file"
337- # file(GLOB ae_nullptr_deref_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/test_cases_bc/ae_nullptr_deref_tests/*.bc")
338- #
339- # foreach(filename ${ae_nullptr_deref_files})
340- # add_test(
341- # NAME ae_nullptr_deref_tests/${filename}
342- # COMMAND ae -null-ptr-deref ${CMAKE_CURRENT_SOURCE_DIR}/${filename}
343- # WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin
344- # )
345- # endforeach()
336+ # loops over ae_nullptr_deref_files and run "ae -null-ptr-deref $bc_file"
337+ file (GLOB ae_nullptr_deref_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR} /test_cases_bc/ae_nullptr_deref_tests/*.bc" )
338+
339+ foreach (filename ${ae_nullptr_deref_files} )
340+ add_test (
341+ NAME ae_nullptr_deref_tests/${filename}
342+ COMMAND ae -null-ptr-deref ${CMAKE_CURRENT_SOURCE_DIR} /${filename}
343+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR} /bin
344+ )
345+ endforeach ()
346346
347347# loops over ae_recursion_files and run "ae -overflow $bc_file" under 3 recursion modes
348348file (GLOB ae_recursion_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR} /test_cases_bc/ae_recursion_tests/*.bc" )
You can’t perform that action at this time.
0 commit comments