[commit: ghc] master: testsuite: Don't pass allow_abbrev (0e3eacc)

git at git.haskell.org git at git.haskell.org
Sat Jul 29 14:34:32 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/0e3eacc7191593ca61992b044a3875dbb50903e6/ghc

>---------------------------------------------------------------

commit 0e3eacc7191593ca61992b044a3875dbb50903e6
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Fri Jul 28 18:23:55 2017 -0400

    testsuite: Don't pass allow_abbrev
    
    This is only supported by Python 3.5 and later, which is too new for us
    to rely on.
    
    Reviewers: austin
    
    Subscribers: rwbarton, thomie, RyanGlScott
    
    GHC Trac Issues: #14050
    
    Differential Revision: https://phabricator.haskell.org/D3803


>---------------------------------------------------------------

0e3eacc7191593ca61992b044a3875dbb50903e6
 testsuite/driver/runtests.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/testsuite/driver/runtests.py b/testsuite/driver/runtests.py
index f0c635f..3e03ed3 100644
--- a/testsuite/driver/runtests.py
+++ b/testsuite/driver/runtests.py
@@ -42,8 +42,7 @@ def signal_handler(signal, frame):
 # -----------------------------------------------------------------------------
 # cmd-line options
 
-parser = argparse.ArgumentParser(description="GHC's testsuite driver",
-                                 allow_abbrev=False)
+parser = argparse.ArgumentParser(description="GHC's testsuite driver")
 
 parser.add_argument("-e", action='append', help="A string to execute from the command line.")
 parser.add_argument("--config-file", action="append", help="config file")



More information about the ghc-commits mailing list