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 | |
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')
-rw-r--r-- | pts/test-resources/nexuiz/benchmark.cfg | 114 | ||||
-rw-r--r-- | pts/test-resources/nexuiz/downloads.xml | 8 | ||||
-rwxr-xr-x | pts/test-resources/nexuiz/install.sh | 18 | ||||
-rw-r--r-- | pts/test-resources/nexuiz/parse-results.php | 7 |
4 files changed, 147 insertions, 0 deletions
diff --git a/pts/test-resources/nexuiz/benchmark.cfg b/pts/test-resources/nexuiz/benchmark.cfg new file mode 100644 index 0000000..bd4206c --- /dev/null +++ b/pts/test-resources/nexuiz/benchmark.cfg @@ -0,0 +1,114 @@ +seta _alientrap_net_banlist "" +seta bot_prefix "[BOT]" +seta bot_suffix "" +seta bot_usemodelnames "0" +seta cl_autoswitch "1" +seta cl_hidewaypoints "0" +seta cl_nogibs "0" +seta cl_playerdetailreduction "0" +seta cl_shownames "1" +seta cl_zoomfactor "5" +seta cl_zoomspeed "3.5" +seta fraglimit_override "-1" +seta g_balance_cloaked_alpha "0.25" +seta g_balance_teams "0" +seta g_balance_teams_complain "0" +seta g_balance_teams_force "0" +seta g_balance_teams_prevent_imbalance "0" +seta g_campaign_index "0" +seta g_campaign_name "" +seta g_ctf_capture_limit "-1" +seta g_domination_point_limit "-1" +seta g_friendlyfire "0.0" +seta g_grappling_hook "0" +seta g_keyhunt_point_limit "-1" +seta g_maplist "aggressor aneurysm basement basementctf bleach bloodprison bluesky darkzone dieselpower dismal downer evilspace farewell final_rage reslimed ruiner runningman runningman_1on1remix runningmanctf silvercity skyway slimepit soylent starship stormkeep strength toxic warfare" +seta g_maplist_index "0" +seta g_maplist_mostrecent_count "3" +seta g_maplist_selectrandom "0" +seta g_maplist_shuffle "1" +seta g_maplist_votable "5" +seta g_maplist_votable_abstain "0" +seta g_maplist_votable_keeptwotime "15" +seta g_maplist_votable_nodetail "0" +seta g_maplist_votable_suggestions "2" +seta g_maplist_votable_suggestions_override_mostrecent "0" +seta g_maplist_votable_timeout "30" +seta g_mirrordamage "0.2" +seta g_runematch_point_limit "-1" +seta g_tdm_teams "2" +seta menu_maxplayers "8" +seta menu_skin "" +seta menu_slist_showempty "1" +seta menu_slist_showfull "1" +seta skill_auto "0" +seta sv_defaultcharacter "0" +seta sv_defaultplayercolors "" +seta sv_defaultplayermodel "models/player/nexus.zym" +seta sv_defaultplayermodel_blue "" +seta sv_defaultplayermodel_pink "" +seta sv_defaultplayermodel_red "" +seta sv_defaultplayermodel_yellow "" +seta sv_defaultplayerskin "0" +seta sv_defaultplayerskin_blue "0" +seta sv_defaultplayerskin_pink "0" +seta sv_defaultplayerskin_red "0" +seta sv_defaultplayerskin_yellow "0" +seta sv_eventlog_files_counter "0" +seta sv_precacheitems "0" +seta sv_precacheplayermodels "1" +seta sv_precacheweapons "0" +seta sv_servermodelsonly "1" +seta sv_spectate "1" +seta teamplay_default "4" +seta timelimit_maxovertime "5" +seta timelimit_override "-1" +seta userbind10_description "" +seta userbind10_press "" +seta userbind10_release "" +seta userbind11_description "" +seta userbind11_press "" +seta userbind11_release "" +seta userbind12_description "" +seta userbind12_press "" +seta userbind12_release "" +seta userbind13_description "" +seta userbind13_press "" +seta userbind13_release "" +seta userbind14_description "" +seta userbind14_press "" +seta userbind14_release "" +seta userbind15_description "" +seta userbind15_press "" +seta userbind15_release "" +seta userbind16_description "" +seta userbind16_press "" +seta userbind16_release "" +seta userbind1_description "" +seta userbind1_press "" +seta userbind1_release "" +seta userbind2_description "" +seta userbind2_press "" +seta userbind2_release "" +seta userbind3_description "" +seta userbind3_press "" +seta userbind3_release "" +seta userbind4_description "" +seta userbind4_press "" +seta userbind4_release "" +seta userbind5_description "" +seta userbind5_press "" +seta userbind5_release "" +seta userbind6_description "" +seta userbind6_press "" +seta userbind6_release "" +seta userbind7_description "" +seta userbind7_press "" +seta userbind7_release "" +seta userbind8_description "" +seta userbind8_press "" +seta userbind8_release "" +seta userbind9_description "" +seta userbind9_press "" +seta userbind9_release "" +seta vid_x11_display "" diff --git a/pts/test-resources/nexuiz/downloads.xml b/pts/test-resources/nexuiz/downloads.xml new file mode 100644 index 0000000..cb589ab --- /dev/null +++ b/pts/test-resources/nexuiz/downloads.xml @@ -0,0 +1,8 @@ +<PhoronixTestSuite> + <Downloads> + <Package> + <URL>http://internap.dl.sourceforge.net/sourceforge/nexuiz/nexuiz-24.zip</URL> + <MD5>7ecf1e683c3db02cdbc8d4514e8e33ce</MD5> + </Package> + </Downloads> +</PhoronixTestSuite> 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 diff --git a/pts/test-resources/nexuiz/parse-results.php b/pts/test-resources/nexuiz/parse-results.php new file mode 100644 index 0000000..c7e1a6c --- /dev/null +++ b/pts/test-resources/nexuiz/parse-results.php @@ -0,0 +1,7 @@ +<?php + +$BENCHMARK_RESULTS = trim(substr($argv[1], strrpos($argv[1], "min/avg/max:") + 12)); +$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, strpos($BENCHMARK_RESULTS, ' '))); +$BENCHMARK_RESULTS = trim(substr($BENCHMARK_RESULTS, 0, strpos($BENCHMARK_RESULTS, ' '))); +echo $BENCHMARK_RESULTS; +?> |