From 1f3688a4346262cff48b143aaf4f1ad3d9b2e749 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Wed, 27 Jul 2022 16:17:18 -0700 Subject: [PATCH] [lib] fixed a bug in test blif reader --- libopenfpga/libpcf/test/test_blif_head_reader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libopenfpga/libpcf/test/test_blif_head_reader.cpp b/libopenfpga/libpcf/test/test_blif_head_reader.cpp index 56e6e4105..4a08f5c2c 100644 --- a/libopenfpga/libpcf/test/test_blif_head_reader.cpp +++ b/libopenfpga/libpcf/test/test_blif_head_reader.cpp @@ -21,9 +21,9 @@ int main(int argc, const char** argv) { argv[1]); if (callback.had_error()) { + VTR_LOG("Read the blif ends with errors\n", + argv[1]); return 1; - } else { - return 0; } /* Output */