# m h dom mon dow command
MAILTO=""
#MAILTO=93sam@debian.org
-01 02 * * * if [ ! -d strace-test ] ; then git -c http.sslcainfo=/etc/ssl/ca-global/ca-certificates.crt clone https://git.einval.com/git/strace-test.git; fi; cd strace-test; git -c http.sslcainfo=/etc/ssl/ca-global/ca-certificates.crt pull; crontab crontab; ./strace-build-test
+01 02 * * * if [ ! -d strace-test ] ; then git -c http.sslcainfo=/etc/ssl/ca-global/ca-certificates.crt clone https://git.einval.com/git/strace-test.git; fi; ./strace-test/wrapper
--- /dev/null
+#!/bin/sh
+
+cd strace-test
+
+# Set up git variables cleanly, and pull
+git config --unset http.sslcainfo
+git config --add http.sslcainfo /etc/ssl/ca-global/ca-certificates.crt
+git pull -q
+
+# Make sure the crontab is updated
+crontab crontab
+
+# Now start tests appropriately
+HOSTNAME=$(hostname)
+
+case $HOSTNAME in
+ abel)
+ ./strace-build-test -a armel > /dev/null 2>&1
+ ./strace-build-test -a armhf > /dev/null 2>&1
+ ;;
+ barriere)
+ ./strace-build-test -a amd64 > /dev/null 2>&1
+ ./strace-build-test -a i386 > /dev/null 2>&1
+ ;;
+ etler)
+ ./strace-build-test -a mipsel > /dev/null 2>&1
+ ./strace-build-test -a mips64el > /dev/null 2>&1
+ ;;
+ *) # asachi minkus partch plummer zelenka - all have one arch as
+ # default
+ ./strace-build-test > /dev/null 2>&1
+ ;;
+esac