- New docker command for quickly running tasks in a Linux environment. - Updated docs with macOS specific details. - Fixed some test issues. - Add (fallible) macOS test target for Travis.
16 lines
239 B
Bash
16 lines
239 B
Bash
# common settings and functions for test scripts
|
|
|
|
if [[ $(uname) == "Darwin" ]] ; then
|
|
export timeout="gtimeout"
|
|
export mktemp="gmktemp"
|
|
else
|
|
export timeout="timeout"
|
|
export mktemp="mktemp"
|
|
fi
|
|
|
|
fail_test()
|
|
{
|
|
echo "FAIL: $@"
|
|
exit 1
|
|
}
|