summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/xplane9
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-10-03 15:41:11 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-10-03 15:41:11 -0400
commit2ebeb7b8192df850a565cad8d7764c6e571e9b51 (patch)
treeb2cc97aa11adb1b66acfe2cd96614919bf165049 /pts/test-resources/xplane9
parent7981227364799d0ebb620ff3769d1e85ea90ada2 (diff)
downloadphoronix-test-suite-upstream-2ebeb7b8192df850a565cad8d7764c6e571e9b51.tar.gz
phoronix-test-suite-upstream-2ebeb7b8192df850a565cad8d7764c6e571e9b51.tar.xz
phoronix-test-suite-upstream-2ebeb7b8192df850a565cad8d7764c6e571e9b51.zip
pts: Major profile updates for Mac OS X
Diffstat (limited to 'pts/test-resources/xplane9')
-rwxr-xr-xpts/test-resources/xplane9/install.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/pts/test-resources/xplane9/install.sh b/pts/test-resources/xplane9/install.sh
index 1e17928..d97235a 100755
--- a/pts/test-resources/xplane9/install.sh
+++ b/pts/test-resources/xplane9/install.sh
@@ -5,6 +5,14 @@ tar -xjf X-Plane_900r3_timedemo.tar.bz2
echo "#!/bin/sh
cd X-Plane_900r3_timedemo/
-./X-Plane-i686 \$@ > /dev/null
+case \$OS_TYPE in
+ \"MacOSX\" )
+ ./X-Plane.app/Contents/MacOS/X-Plane \$@ > /dev/null
+ ;;
+ * )
+ ./X-Plane-i686 \$@ > /dev/null
+ ;;
+esac
+
grep FRAMERATE Log.txt" > xplane9
chmod +x xplane9