Unverified Commit 27a7d633 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

tomlplusplus: disable broken tests on darwin (#352316)

parents 81d58d9e 7fb369fe
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -44,12 +44,15 @@ stdenv.mkDerivation (finalAttrs: {
    glibcLocales
  ];

  doCheck = true;
  mesonFlags = [
    "-Dbuild_tests=${lib.boolToString finalAttrs.doCheck}"
    "-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 = {
    updateScript = nix-update-script { };
    tests.pkg-config = testers.hasPkgConfigModules {