ocarina/tests/run_test

14 lines
287 B
Bash
Executable File

#!/bin/bash
# Copyright (c) Anna Schumaker.
VERSION=$(cat ../config | grep ^CONFIG_VERSION | awk -F= '{print $2}' | tr -d ' ')
DEBUG=$(cat ../config | grep ^CONFIG_DEBUG | awk -F= '{print $2}' | tr -d ' ')
function utility
{
echo src/$1
}
echo -n "Running test '$1' ... "
. tests/$1