From d2993872f1e7598e90e22cada8d58fabcb6443c1 Mon Sep 17 00:00:00 2001 From: Michael Larabel Date: Tue, 29 Apr 2008 11:23:21 -0400 Subject: Change benchmark-profiles/, benchmark-resources/, and benchmark-suites/ to test-profiles/, test-resources/, and test-suites/ --- pts/test-resources/nexuiz/install.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 pts/test-resources/nexuiz/install.sh (limited to 'pts/test-resources/nexuiz/install.sh') 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 -- cgit