From 11e045992d765fb957fcad9c8b1e6f1aafd046f2 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 25 Jan 2022 21:24:10 -0800 Subject: [PATCH] [Test] Now only compare on the golden netlist changes to branch --- openfpga_flow/regression_test_scripts/basic_reg_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfpga_flow/regression_test_scripts/basic_reg_test.sh b/openfpga_flow/regression_test_scripts/basic_reg_test.sh index a062c3b76..9708fdaba 100755 --- a/openfpga_flow/regression_test_scripts/basic_reg_test.sh +++ b/openfpga_flow/regression_test_scripts/basic_reg_test.sh @@ -148,7 +148,7 @@ run-task basic_tests/explicit_multi_verilog_files --debug --show_thread_logs echo -e "Testing output files without time stamp"; run-task basic_tests/no_time_stamp --debug --show_thread_logs # Run git-diff to ensure no changes on the golden netlists -if git diff origin/master HEAD --name-status -- ':openfpga_flow/tasks/basic_tests/no_time_stamp/golden_outputs_no_time_stamp/**'; then +if git diff --name-status -- ':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 scripts"; exit 1;