From 6a896a9845aba57f474975ee135ff73126ad67b0 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 20 Sep 2022 14:08:22 -0700 Subject: [PATCH] [test] debugging --- openfpga_flow/regression_test_scripts/basic_reg_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openfpga_flow/regression_test_scripts/basic_reg_test.sh b/openfpga_flow/regression_test_scripts/basic_reg_test.sh index 13bba981d..b3f9b9a6a 100755 --- a/openfpga_flow/regression_test_scripts/basic_reg_test.sh +++ b/openfpga_flow/regression_test_scripts/basic_reg_test.sh @@ -205,8 +205,8 @@ cd ${OPENFPGA_PATH} pwd git config --global --add safe.directory ${OPENFPGA_PATH} git log -git diff --name-status -- \":${OPENFPGA_PATH}/openfpga_flow/tasks/basic_tests/no_time_stamp/*/golden_outputs_no_time_stamp/**\" -if git diff --name-status --exit-code -- \":${OPENFPGA_PATH}/openfpga_flow/tasks/basic_tests/no_time_stamp/*/golden_outputs_no_time_stamp/**\"; then +git diff --name-status -- :${OPENFPGA_PATH}/openfpga_flow/tasks/basic_tests/no_time_stamp/*/golden_outputs_no_time_stamp/** +if git diff --name-status --exit-code -- :${OPENFPGA_PATH}/openfpga_flow/tasks/basic_tests/no_time_stamp/*/golden_outputs_no_time_stamp/**; then echo -e "Golden netlist remain unchanged" else echo -e "Detect changes in golden netlists"; exit 1;