From bc7fb17b601b77f04827df2952582f25f53fc69f Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Tue, 24 Feb 2015 10:49:49 -0800 Subject: [PATCH] Two random fixes * Use uname -s on mac * Don't print "Running ..." for pal tests (will still print failures). Cuts down on noise in output. --- build.sh | 2 +- src/pal/tests/palsuite/runpaltests.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 0fd0041..bcc2aba 100755 --- a/build.sh +++ b/build.sh @@ -91,7 +91,7 @@ __BuildArch=x64 # 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" diff --git a/src/pal/tests/palsuite/runpaltests.sh b/src/pal/tests/palsuite/runpaltests.sh index 5a36de6..60b7b14 100755 --- a/src/pal/tests/palsuite/runpaltests.sh +++ b/src/pal/tests/palsuite/runpaltests.sh @@ -70,7 +70,6 @@ do # 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. -- 2.7.4