[test] give abs path for git diff in basic regression tests
This commit is contained in:
parent
929c74b3b0
commit
488a934097
|
@ -179,8 +179,8 @@ run-task _task_copy
|
||||||
echo -e "Testing output files without time stamp";
|
echo -e "Testing output files without time stamp";
|
||||||
run-task basic_tests/no_time_stamp $@
|
run-task basic_tests/no_time_stamp $@
|
||||||
# Run git-diff to ensure no changes on the golden netlists
|
# Run git-diff to ensure no changes on the golden netlists
|
||||||
git diff --name-status -- ':openfpga_flow/tasks/basic_tests/no_time_stamp/golden_outputs_no_time_stamp/**'
|
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_flow/tasks/basic_tests/no_time_stamp/golden_outputs_no_time_stamp/**'; then
|
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"
|
echo -e "Golden netlist remain unchanged"
|
||||||
else
|
else
|
||||||
echo -e "Detect changes in golden netlists"; exit 1;
|
echo -e "Detect changes in golden netlists"; exit 1;
|
||||||
|
|
Loading…
Reference in New Issue