* Use uname -s on mac
* Don't print "Running ..." for pal tests (will still print failures). Cuts down on noise in output.
# Use uname to determine what the OS is.
if [ $(uname -o | grep -i Linux) ]; then
__BuildOS=linux
-elif [ $(uname -o | grep -i Darwin) ]; then
+elif [ $(uname -s | grep -i Darwin) ]; then
__BuildOS=mac
else
echo "Unsupported OS detected, assuming linux"
# Create path to a test executable to run
TEST_COMMAND="$PAL_TEST_BUILD/$TEST_NAME"
- echo Running $TEST_COMMAND
$TEST_COMMAND
# Get exit code of the test process.