diff options
author | Michael Larabel <michael@phx-laptop.(none)> | 2008-04-29 11:23:21 -0400 |
---|---|---|
committer | Michael Larabel <michael@phx-laptop.(none)> | 2008-04-29 11:23:21 -0400 |
commit | d2993872f1e7598e90e22cada8d58fabcb6443c1 (patch) | |
tree | e104a8cca259dcce012c95f3a7d311c1f9981fdd /pts/test-resources/nexuiz/install.sh | |
parent | d8f940cde35c8423043bd37c58f00f57e901e66b (diff) | |
download | phoronix-test-suite-upstream-d2993872f1e7598e90e22cada8d58fabcb6443c1.tar.gz phoronix-test-suite-upstream-d2993872f1e7598e90e22cada8d58fabcb6443c1.tar.xz phoronix-test-suite-upstream-d2993872f1e7598e90e22cada8d58fabcb6443c1.zip |
Change benchmark-profiles/, benchmark-resources/, and benchmark-suites/ to test-profiles/, test-resources/, and test-suites/
Diffstat (limited to 'pts/test-resources/nexuiz/install.sh')
-rwxr-xr-x | pts/test-resources/nexuiz/install.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pts/test-resources/nexuiz/install.sh b/pts/test-resources/nexuiz/install.sh new file mode 100755 index 0000000..4b72a14 --- /dev/null +++ b/pts/test-resources/nexuiz/install.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +cd $1 + +if [ -x /usr/games/nexuiz -a -r /usr/share/games/nexuiz/data/music20080229.pk3 ]; then +cat > nexuiz <<'EOT' +#!/bin/sh +/usr/games/nexuiz +exec normal.cfg $@ | grep fps +EOT +else + +unzip -o nexuiz-24.zip + +echo "#!/bin/sh +cd Nexuiz +./nexuiz-linux-glx.sh +exec normal.cfg \$@ | grep fps" > nexuiz +fi +chmod +x nexuiz |