diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-09-18 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-09-18 17:52:40 +0000 |
commit | 836a55179d7edd8d3300d34274add19c7a1b0ddc (patch) | |
tree | e55e45381e78e4f5c16754789dffd07f7b9d3466 | |
parent | 04b2cede61c92fecfc72fc353059a31f16beb07a (diff) | |
download | strace-836a55179d7edd8d3300d34274add19c7a1b0ddc.tar.gz |
ci: add a git status check
* ci/run-build-and-tests.sh: Check that "git status" does not report
any differences or untracked files.
[$CHECK == coverage]: Remove ./codecov.bash after use.
* .gitignore: Add "/travis_wait_*.log".
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | ci/run-build-and-tests.sh | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 0d5d8d002..8bcaa809e 100644 --- a/.gitignore +++ b/.gitignore @@ -77,6 +77,7 @@ /test-driver /tests-m32 /tests-mx32 +/travis_wait_*.log Makefile Makefile.in core diff --git a/ci/run-build-and-tests.sh b/ci/run-build-and-tests.sh index d88c99c26..2ae812ab9 100755 --- a/ci/run-build-and-tests.sh +++ b/ci/run-build-and-tests.sh @@ -100,6 +100,7 @@ case "${CHECK-}" in *) GCOV=gcov ;; esac ./codecov.bash -Z -x "$GCOV" -a -abc + rm ./codecov.bash ;; valgrind) make -k $j all VERBOSE=${VERBOSE-} @@ -119,3 +120,8 @@ case "${CHECK-}" in make -k $j2 distcheck VERBOSE=${VERBOSE-} ;; esac + +if git status --porcelain |grep ^.; then + echo >&2 'git status reported uncleanness' + exit 1 +fi |