From 4ec97798733e9bde44b073e287a61e3d746fc8ef Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sat, 8 Dec 2012 18:11:31 +0100 Subject: [PATCH] Fix runtime unit test arguments. The code had bitrotted to the point where only the first argument was picked up. --- runtime/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 8077edb9..b26430af 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -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()