aboutsummaryrefslogtreecommitdiff
path: root/benchmark.sh
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark.sh')
-rwxr-xr-xbenchmark.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/benchmark.sh b/benchmark.sh
index b3af277..3e24491 100755
--- a/benchmark.sh
+++ b/benchmark.sh
@@ -2,11 +2,15 @@
# Run every puzzle in benchmarking mode, and generate a file of raw
# data that benchmark.pl will format into a web page.
+#
+# Expects to be run in the cmake build directory, where it can find
+# both the game binaries themselves and the file gamelist.txt that
+# lists them.
# If any arguments are provided, use those as the list of games to
-# benchmark. Otherwise, read the full list from gamedesc.txt.
+# benchmark. Otherwise, read the full list from gamelist.txt.
if test $# = 0; then
- set -- $(cut -f1 -d: < gamedesc.txt)
+ set -- $(cat gamelist.txt)
fi
failures=false