Two random fixes
authorMatt Mitchell <mmitche@microsoft.com>
Tue, 24 Feb 2015 18:49:49 +0000 (10:49 -0800)
committerMatt Mitchell <mmitche@microsoft.com>
Tue, 24 Feb 2015 18:49:49 +0000 (10:49 -0800)
* Use uname -s on mac
* Don't print "Running ..." for pal tests (will still print failures).  Cuts down on noise in output.

build.sh
src/pal/tests/palsuite/runpaltests.sh

index 0fd0041..bcc2aba 100755 (executable)
--- 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"
index 5a36de6..60b7b14 100755 (executable)
@@ -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.