[commit: ghc] wip/perf-testsuite: This should actually split things out this time (0636340)
git at git.haskell.org
git at git.haskell.org
Fri Jul 28 20:33:33 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/perf-testsuite
Link : http://ghc.haskell.org/trac/ghc/changeset/0636340b20a7a958c0c1401059b30a1f17bdc5cd/ghc
>---------------------------------------------------------------
commit 0636340b20a7a958c0c1401059b30a1f17bdc5cd
Author: Jared Weakly <jweakly at pdx.edu>
Date: Wed Jul 26 13:52:07 2017 -0700
This should actually split things out this time
>---------------------------------------------------------------
0636340b20a7a958c0c1401059b30a1f17bdc5cd
testsuite/driver/runtests.py | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index f2f28d3..0fce4be 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -6,7 +6,6 @@
from __future__ import print_function
-import argparse
import signal
import sys
import os
@@ -42,24 +41,6 @@ def signal_handler(signal, frame):
# -----------------------------------------------------------------------------
# cmd-line options
-# argparse implementation
-# parser = argparse.ArgumentParser()
-# parser.add_argument("configfile=", help="config file")
-# parser.add_argument("config=", help="config field")
-# parser.add_argument("rootdir=", help="root of tree containing tests (default: .)")
-# parser.add_argument("summary-file=", help="file in which to save the (human-readable) summary")
-# parser.add_argument("no-print-summary=", help="should we print the summary?")
-# parser.add_argument("only=", help="just this test (can be give multiple --only= flags)")
-# parser.add_argument("way=", help="just this way")
-# parser.add_argument("skipway=", help="skip this way")
-# parser.add_argument("threads=", help="threads to run simultaneously")
-# parser.add_argument("check-files-written", help="check files aren't written by multiple tests")
-# parser.add_argument("verbose=", help="verbose (0,1,2 so far)")
-# parser.add_argument("skip-perf-tests", help="skip performance tests")
-# parser.add_argument("only-perf-tests", help="Only do performance tests")
-# parser.add_argument("use-git-notes", help="use git notes to store metrics. NOTE: This is expected to become the default and will eventually be taken out.")
-# parser.add_argument("test-env=", help="Override default chosen test-env.")
-
long_options = [
"configfile=", # config file
"config=", # config field
@@ -79,11 +60,6 @@ long_options = [
]
opts, args = getopt.getopt(sys.argv[1:], "e:", long_options)
-# argparse implementation
-# aargs = parser.parse_args()
-
-# if aargs.configfile:
-# exec(open(aarg.configfile))
for opt,arg in opts:
if opt == '--configfile':
More information about the ghc-commits
mailing list