[commit: ghc] wip/perf-testsuite: This should actually split things out this time (67ad19a)
git at git.haskell.org
git at git.haskell.org
Thu Jul 27 01:29:09 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/perf-testsuite
Link : http://ghc.haskell.org/trac/ghc/changeset/67ad19a71f0b7fe82f573ca8b7c929bd25a3ecb5/ghc
>---------------------------------------------------------------
commit 67ad19a71f0b7fe82f573ca8b7c929bd25a3ecb5
Author: Jared Weakly <jweakly at pdx.edu>
Date: Wed Jul 26 13:52:07 2017 -0700
This should actually split things out this time
>---------------------------------------------------------------
67ad19a71f0b7fe82f573ca8b7c929bd25a3ecb5
testsuite/driver/runtests.py | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index 1893ddc..d9e98d4 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