From 7042cdb98bf69333b1e46a057fed8ea7e976aa85 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Fri, 22 Mar 2019 21:54:45 +0100 Subject: [PATCH] Ported netlist normalization for #246 merge (unit test compatibility windows/linux) --- src/db/unit_tests/dbNetlistWriterTests.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/db/unit_tests/dbNetlistWriterTests.cc b/src/db/unit_tests/dbNetlistWriterTests.cc index a78b4e60a..0f44f4816 100644 --- a/src/db/unit_tests/dbNetlistWriterTests.cc +++ b/src/db/unit_tests/dbNetlistWriterTests.cc @@ -815,14 +815,7 @@ TEST(9_WriterNetNamesInsteadOfNumbers) std::string au_path = tl::combine_path (tl::combine_path (tl::combine_path (tl::testsrc (), "testdata"), "algo"), "nwriter9_au.txt"); - tl::InputStream is (path); - tl::InputStream is_au (au_path); - - if (is.read_all () != is_au.read_all ()) { - _this->raise (tl::sprintf ("Compare failed - see\n actual: %s\n golden: %s", - tl::absolute_file_path (path), - tl::absolute_file_path (au_path))); - } + compare_netlists (_this, path, au_path); } TEST(10_WriterLongLines)