Commit beee618c authored by thomie's avatar thomie
Browse files

Fix testsuite driver for a profiling compiler

This should have been part of commit 5258566e, to allow expansion of
'{hp2ps}' in a command string to `config.hp2ps`.

Reviewed by: austin

Differential Revision: https://phabricator.haskell.org/D734
parent 817d2c34
...@@ -1828,6 +1828,9 @@ def rawSystemWithTimeout(cmd_and_args): ...@@ -1828,6 +1828,9 @@ def rawSystemWithTimeout(cmd_and_args):
# Then, when using the native Python, os.system will invoke the cmd shell # Then, when using the native Python, os.system will invoke the cmd shell
def runCmd( cmd ): def runCmd( cmd ):
# Format cmd using config. Example: cmd='{hpc} report A.tix'
cmd = cmd.format(**config.__dict__)
if_verbose( 3, cmd ) if_verbose( 3, cmd )
r = 0 r = 0
if config.os == 'mingw32': if config.os == 'mingw32':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment