Index: benchmark/rmit.py
===================================================================
--- benchmark/rmit.py	(revision 605673faf63b2786abe9ac41c35cbc79f5ac7ed7)
+++ benchmark/rmit.py	(revision 6f27b67a719e74749e741dff66a2ebf02c5498d9)
@@ -138,5 +138,9 @@
 	# ================================================================================
 	# Identify the commands to run
-	commands = ["./" + options.command[0] + "-" + c for c in options.candidates]
+	command = './' + options.command[0]
+	if options.candidates:
+		commands = [command + "-" + c for c in options.candidates]
+	else:
+		commands = [command]
 	for c in commands:
 		if not os.path.isfile(c):
Index: doc/theses/andrew_beach_MMath/code/test.sh
===================================================================
--- doc/theses/andrew_beach_MMath/code/test.sh	(revision 605673faf63b2786abe9ac41c35cbc79f5ac7ed7)
+++ doc/theses/andrew_beach_MMath/code/test.sh	(revision 6f27b67a719e74749e741dff66a2ebf02c5498d9)
@@ -38,18 +38,7 @@
 	done
 	exit 0
-elif [ 2 == "$#" ]; then
+elif [ 2 -eq "$#" ]; then
     TEST_LANG="$1"
     TEST_CASE="$2"
-# Just a weird hack to make this work with rmit.py.
-elif [ 4 == "$#" ]; then
-    # -l TEST_LANG -t TEST_CASE
-    if [ "-l" = "$1" ]; then
-        TEST_LANG="$2"
-        TEST_CASE="$4"
-    # -t TEST_CASE -l TEST_LANG
-    else
-        TEST_LANG="$4"
-        TEST_CASE="$2"
-    fi
 else
     echo "Unknown call pattern." >&2
