Don't build tests twice under MULTILIB on 32 bit boxes.

Specifying the flag there probably doesn't make much sense in
the first place.
This commit is contained in:
David Nadlinger
2012-12-08 19:18:08 +01:00
parent 4ec9779873
commit 3df39b642a

View File

@@ -504,7 +504,9 @@ function(add_tests module_files)
testcase(debug "-g;-d-debug")
testcase(release "-O3;-release")
if(MULTILIB)
# On 64 bit multilib builds, run the tests in 32 bit mode as well.
if(MULTILIB AND ${MULTILIB_SUFFIX} EQUAL 32)
testcase(debug_32 "-g;-d-debug;-m32")
testcase(release_32 "-O3;-release;-m32")
endif()