• Rufflewind's avatar
    Testdriver: don't use os.popen in config/ghc · ef904660
    Rufflewind authored
    Rewrite config/ghc to use getStdout (which use subprocess.Popen) instead
    of os.popen, which is deprecated; this also avoids the use of shell
    * Move getStdout to driver/testutil.py so both config/ghc and
      driver/runtests.py can use it
    * Remove support for Python below 2.4, which doesn't have subprocess
    Reviewed By: thomie
    Differential Revision: https://phabricator.haskell.org/D908
testutil.py 1.19 KB