Skip to content

Commit bf9e435

Browse files
committed
Also test files that are BOTH added/modified
1 parent 879b9cf commit bf9e435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/test-modified.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This script will run make xtest on any files in the repository that have not yet been committed
22
# use before 'git commit' to ensure your commit doesn't require correction.
33

4-
export TEST_FILES=`git status --porcelain | egrep '^( M|A )' | awk '{print $2}'`
4+
export TEST_FILES=`git status --porcelain | egrep '^( M|A |AM)' | awk '{print $2}'`
55

66
[ "$TEST_FILES" = "" ] && echo "nothing to test"
77
[ "$TEST_FILES" != "" ] && RAKULIB=. make xtest

0 commit comments

Comments
 (0)