Commit e22ded9d authored by Rick van Schijndel's avatar Rick van Schijndel
Browse files

libpqxx: re-enable tests that use UTF8

The postgresqlTestHook is updated in https://github.com/NixOS/nixpkgs/pull/479043.
No need to disable these tests anymore.
parent 828b9645
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -44,12 +44,6 @@ gcc14Stdenv.mkDerivation (finalAttrs: {
  ];

  postPatch = ''
    # Disable some tests that always fail -- our postgresqlTestHook initializes the database with the default (ASCII) encoding.
    substituteInPlace test/unit/test_stream_from.cxx \
      --replace-fail "PQXX_REGISTER_TEST(test_stream_from_parses_awkward_strings);" ""
    substituteInPlace test/unit/test_stream_query.cxx \
      --replace-fail "PQXX_REGISTER_TEST(test_stream_parses_awkward_strings);" ""

    # Disable linting step for tests, it tries to install packages with pip.
    substituteInPlace Makefile.am \
      --replace-fail "TESTS = tools/lint" ""