##// END OF EJS Templates
scripts: properly check for errors in whitespacecleanup/run-all-cleanup...
Thomas De Schampheleire -
r8209:bf85e601 default
parent child Browse files
Show More
@@ -40,14 +40,18 b' for rev in $(hg log -r "$1" -T \'{node}\\n'
40 pip install -e . -r dev_requirements.txt python-ldap python-pam
40 pip install -e . -r dev_requirements.txt python-ldap python-pam
41
41
42 # run-all-cleanup
42 # run-all-cleanup
43 scripts/run-all-cleanup
43 if ! scripts/run-all-cleanup ; then
44 if ! hg update --check -q .; then
44 echo "run-all-cleanup encountered errors!"
45 echo "run-all-cleanup did not give clean results!"
46 result="NOK"
45 result="NOK"
47 hg diff
48 hg revert -a
49 else
46 else
50 result=" OK"
47 if ! hg update --check -q .; then
48 echo "run-all-cleanup did not give clean results!"
49 result="NOK"
50 hg diff
51 hg revert -a
52 else
53 result=" OK"
54 fi
51 fi
55 fi
52 echo "$result: $rev (run-all-cleanup)" >> "$resultfile"
56 echo "$result: $rev (run-all-cleanup)" >> "$resultfile"
53
57
@@ -1,4 +1,4 b''
1 #!/bin/bash -x
1 #!/bin/bash -xe
2
2
3 # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes
3 # Enforce some consistency in whitespace - just to avoid spurious whitespaces changes
4
4
General Comments 0
You need to be logged in to leave comments. Login now