Mercurial > kallithea
annotate scripts/run-all-cleanup @ 6628:fa5788feed0f
tests: check returncode from executing external commands
If a command fails, it could lead to undefined behavior,
which lets tests fail without clear indication of the cause of the failures.
Therefore, if not stated otherwise, check the return code.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Thu, 27 Apr 2017 20:46:16 +0200 |
parents | 40edadecda69 |
children | 51af7c12ffb1 |
rev | line source |
---|---|
6060
40edadecda69
run-all-cleanup: fix incorrect interpreter
Søren Løvborg <sorenl@unity3d.com>
parents:
5885
diff
changeset
|
1 #!/bin/sh |
5885
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
2 |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
3 # Convenience script for running various idempotent source code cleanup scripts |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
4 |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
5 set -e |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
6 set -x |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
7 |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
8 scripts/docs-headings.py |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
9 scripts/generate-ini.py |
f0b9706d8d7e
scripts: introduce scripts/run-all-cleanup - run this before committing to make sure some aspects of the coding style is maintained
Mads Kiilerich <madski@unity3d.com>
parents:
diff
changeset
|
10 scripts/whitespacecleanup.sh |