#!/bin/sh

TEST="$1"
OK="reports/$TEST/OK"
LOG="reports/$TEST/log"

if "./$1" > "$LOG" 2> "$LOG"; then
	echo OK > "$OK"
else
	echo FAIL > "$OK"
fi
