Files
mgmt/test/util.sh
Johan Bloemberg ba21554c5f build, docs: Improve macOS building
- 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.
2018-02-10 05:01:12 -05:00

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
}