From f8aa84a91bc82b64123b0862941b4b41c5a7106d Mon Sep 17 00:00:00 2001 From: o9000 Date: Thu, 28 Sep 2017 18:36:34 +0200 Subject: [PATCH] Regression testing --- test/update_test_status.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 test/update_test_status.sh diff --git a/test/update_test_status.sh b/test/update_test_status.sh new file mode 100755 index 0000000..3fa0d44 --- /dev/null +++ b/test/update_test_status.sh @@ -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