#!/bin/bash # this should be a bit smarter than that, but it's sufficient for testing set -e if [ -e $HOME/autorun_running.lock ]; then echo "FATAL ERROR: Lock exists - apparently we're running already. Exiting." exit 0; fi touch $HOME/autorun_running.lock ./testing-init ./sources-get-prepare ./sources-compile-install ./binaries-fetch-install ./tests-run-report rm -f $HOME/autorun_running.lock sleep 5 killall tail-massive || true exit 0