add --test-dir option
diff --git a/tests/oft b/tests/oft
index 81d378e..a70b9c6 100755
--- a/tests/oft
+++ b/tests/oft
@@ -286,6 +286,8 @@
     parser.add_option("--random-seed", type="int",
                       help="Random number generator seed",
                       default=None)
+    parser.add_option("--test-dir", type="string",
+                      help="Directory containing tests")
 
     # Might need this if other parsers want command line
     # parser.allow_interspersed_args = False