Add new testsuite.

This adds the DMD 2.064 test suite. It includes a workaround for a LLVM bug in the unit tests, too.
This commit is contained in:
Kai Nacke
2013-11-08 14:40:45 +01:00
parent 4d856b881f
commit 9ecd0da1b6
2 changed files with 7 additions and 1 deletions

View File

@@ -619,6 +619,12 @@ function(add_tests module_files)
elseif(${LDC_LLVM_VER} LESS 303 AND
"${testroot}" STREQUAL "phobos_std_range")
testcase(release "-O1;-release")
# Building the rt.util.container tests triggers a bug in the
# jump threading pass on every LLVM release before 3.4.
# See PR17621.
elseif(${LDC_LLVM_VER} LESS 304 AND
"${testroot}" STREQUAL "druntime_src_rt_util_container")
testcase(release "-O1;-release")
else()
testcase(release "-O3;-release")
endif()