mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
tomlplusplus: disable broken tests on darwin (#352316)
This commit is contained in:
commit
27a7d63308
@ -44,12 +44,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
glibcLocales
|
glibcLocales
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dbuild_tests=${lib.boolToString finalAttrs.doCheck}"
|
"-Dbuild_tests=${lib.boolToString finalAttrs.doCheck}"
|
||||||
"-Dbuild_examples=true"
|
"-Dbuild_examples=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# almost all tests fail on Darwin with the following exception:
|
||||||
|
# libc++abi: terminating due to uncaught exception of type std::runtime_error: collate_byname<char>::collate_byname failed to construct for
|
||||||
|
doCheck = !stdenv.hostPlatform.isDarwin;
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
tests.pkg-config = testers.hasPkgConfigModules {
|
tests.pkg-config = testers.hasPkgConfigModules {
|
||||||
|
Loading…
Reference in New Issue
Block a user