testsuite: Don't pass allow_abbrev
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 28 Jul 2017 22:23:55 +0000 (18:23 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 28 Jul 2017 22:23:57 +0000 (18:23 -0400)
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

testsuite/driver/runtests.py

index f0c635f..3e03ed3 100644 (file)
@@ -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")