mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 03:43:45 +00:00
catch2_3: skip test ApprovalTests on darwin
This commit is contained in:
parent
7cf711c4e0
commit
8a4411252e
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
|
|||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCATCH_DEVELOPMENT_BUILD=ON"
|
"-DCATCH_DEVELOPMENT_BUILD=ON"
|
||||||
"-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}"
|
"-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;
|
doCheck = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user