diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-01-31 17:45:02 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-01-31 17:45:24 +0100 |
commit | e4542b09ebc785684dde30af7123d7009e55f6be (patch) | |
tree | 8c2b9d954e23d21981205df00c0dbfdc8e154ecc /community/lua-dromozoa-utf8/test.sh.patch | |
parent | dbbf344153d384eeb5dbffdefc188791686148fd (diff) | |
download | aports-e4542b09ebc785684dde30af7123d7009e55f6be.tar.bz2 aports-e4542b09ebc785684dde30af7123d7009e55f6be.tar.xz |
community/lua-dromozoa-utf8: upgrade to 1.8
Diffstat (limited to 'community/lua-dromozoa-utf8/test.sh.patch')
-rw-r--r-- | community/lua-dromozoa-utf8/test.sh.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/lua-dromozoa-utf8/test.sh.patch b/community/lua-dromozoa-utf8/test.sh.patch new file mode 100644 index 0000000000..7632adf739 --- /dev/null +++ b/community/lua-dromozoa-utf8/test.sh.patch @@ -0,0 +1,17 @@ +Don't overwhelm console with test output... + +--- a/test.sh ++++ b/test.sh +@@ -24,7 +24,11 @@ + + for i in test/test*.lua + do +- "$lua" "$i" ++ "$lua" "$i" > "${i%.lua}.out" 2>&1 || { ++ echo "Tests failed, printing last 30 lines of the output..." ++ tail -n 30 "${i%.lua}.out" ++ exit 1 ++ } + done + + mkdir -p out |