Fix runtime unit test arguments.

The code had bitrotted to the point where only the first argument
was picked up.
This commit is contained in:
David Nadlinger
2012-12-08 18:11:31 +01:00
parent 48f476dcbe
commit 4ec9779873

View File

@@ -502,11 +502,11 @@ function(add_tests module_files)
set_tests_properties(${testroot}_${name}_run PROPERTIES DEPENDS ${testroot}_${name}_build)
endfunction()
testcase(debug -g -debug)
testcase(release -O -release)
testcase(debug "-g;-d-debug")
testcase(release "-O3;-release")
if(MULTILIB)
testcase(debug_32 -g -debug -m32)
testcase(release_32 -O -release -m32)
testcase(debug_32 "-g;-d-debug;-m32")
testcase(release_32 "-O3;-release;-m32")
endif()
endforeach()
endfunction()