You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf>&2'Source is already modified, aborting test!\n\n'
exit 0
fi
.
Possible Fix
One option to solve this problem would be to stash the current changes at the end of the check_formatting.sh. I do not know if doing that has other unintended consequences though.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce the Problem
Expected Result
Either Cirrus or Travis should report the incorrectly formatted code. The build jobs that test formatting should finish unsuccessfully.
Actual Result
All build jobs finish successfully.
Additional Information
The script
testscr_check_formatting
fails in the CI builds as expected. However, since we usectest $ARGS --rerun-failed
:libelektra/scripts/dev/run_all.in
Line 17 in 8d9dba1
the test
testscr_check_formatting
is executed again. This time the test does not fail, since the source was modified:libelektra/tests/shell/check_formatting.sh
Lines 14 to 17 in 8d9dba1
.
Possible Fix
One option to solve this problem would be to
stash
the current changes at the end of thecheck_formatting.sh
. I do not know if doing that has other unintended consequences though.The text was updated successfully, but these errors were encountered: