diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2017-03-23 15:53:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-24 12:15:16 (GMT) |
commit | ede8db109cabae485e53002c3350eb4d531ab076 (patch) | |
tree | 907e2837870f5aa4ee4b66ce79b02db26418e9b0 /Tests/RunCMake/RunCMake.cmake | |
parent | f0f60c548a3c3156f6488c1921f5b64ea33f5410 (diff) | |
download | CMake-ede8db109cabae485e53002c3350eb4d531ab076.zip CMake-ede8db109cabae485e53002c3350eb4d531ab076.tar.gz CMake-ede8db109cabae485e53002c3350eb4d531ab076.tar.bz2 |
RunCMake: Ignore xcodebuild bug warnings in tests
Encountered on OS X 10.4 with old Xcode:
Expected stderr to match:
expect-err> ^$
Actual stderr:
actual-err> Hit xcodebuild bug : ... bad interpreter: Text file busy
Diffstat (limited to 'Tests/RunCMake/RunCMake.cmake')
-rw-r--r-- | Tests/RunCMake/RunCMake.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/RunCMake.cmake b/Tests/RunCMake/RunCMake.cmake index 5f66da0..9e2fe7a 100644 --- a/Tests/RunCMake/RunCMake.cmake +++ b/Tests/RunCMake/RunCMake.cmake @@ -101,7 +101,7 @@ function(run_cmake test) endif() foreach(o out err) string(REGEX REPLACE "\r\n" "\n" actual_std${o} "${actual_std${o}}") - string(REGEX REPLACE "(^|\n)((==[0-9]+==|BullseyeCoverage|[a-z]+\\([0-9]+\\) malloc:|Error kstat returned|[^\n]*is a member of multiple groups|[^\n]*from Time Machine by path|[^\n]*Bullseye Testing Technology)[^\n]*\n)+" "\\1" actual_std${o} "${actual_std${o}}") + string(REGEX REPLACE "(^|\n)((==[0-9]+==|BullseyeCoverage|[a-z]+\\([0-9]+\\) malloc:|Error kstat returned|Hit xcodebuild bug|[^\n]*is a member of multiple groups|[^\n]*from Time Machine by path|[^\n]*Bullseye Testing Technology)[^\n]*\n)+" "\\1" actual_std${o} "${actual_std${o}}") string(REGEX REPLACE "\n+$" "" actual_std${o} "${actual_std${o}}") set(expect_${o} "") if(DEFINED expect_std${o}) |