catch2_3: skip test ApprovalTests on darwin
This commit is contained in:
parent
7cf711c4e0
commit
8a4411252e
|
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
|
|||
cmakeFlags = [
|
||||
"-DCATCH_DEVELOPMENT_BUILD=ON"
|
||||
"-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}"
|
||||
] ++ lib.optionals (stdenv.isDarwin && doCheck) [
|
||||
# test has a faulty path normalization technique that won't work in
|
||||
# our darwin build environment https://github.com/catchorg/Catch2/issues/1691
|
||||
"-DCMAKE_CTEST_ARGUMENTS=-E;ApprovalTests"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
|
Loading…
Reference in a new issue