Regression testing

This commit is contained in:
o9000 2017-09-28 18:36:34 +02:00
parent 0154fe6a5a
commit f8aa84a91b

22
test/update_test_status.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
set -e
set -x
[ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@" || :
exec > ~/tint2.runner-version.log
exec 2>&1
cd ~/tint2.wiki
git reset --hard
git pull
~/tint2/test/regression.py > tests.tmp.md
cat tests.tmp.md > tests.md
rm tests.tmp.md
git add tests.md
git commit -am 'Update test results'
git push origin master