mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-09 16:18:34 +01:00
catch2_3: fix pkgsLLVM checkPhase (#458566)
This commit is contained in:
commit
6803de389f
|
|
@ -40,9 +40,9 @@ stdenv.mkDerivation rec {
|
|||
"-DCATCH_BUILD_TESTING=${if doCheck then "ON" else "OFF"}"
|
||||
"-DCATCH_ENABLE_WERROR=OFF"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform.isDarwin && doCheck) [
|
||||
++ lib.optionals (stdenv.cc.isClang && doCheck) [
|
||||
# test has a faulty path normalization technique that won't work in
|
||||
# our darwin build environment https://github.com/catchorg/Catch2/issues/1691
|
||||
# our darwin/LLVM build environment https://github.com/catchorg/Catch2/issues/1691
|
||||
"-DCMAKE_CTEST_ARGUMENTS=-E;ApprovalTests"
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue