Fix uninformative hp2ps error when the cmdline contains double quotes
Reapply D5346 with fix incompatible shell quoting in tests. It seems like `$'string'` is not recognized under all test environments, so let's avoid it in tests. Test Plan: ``` hp2ps: "T15904".hp, line 2: integer must follow identifier ``` use new ghc and hp2ps to profile a simple program. Reviewers: simonmar, bgamari, erikd, tdammers Reviewed By: bgamari Subscribers: tdammers, carter, rwbarton GHC Trac Issues: #15904 Differential Revision: https://phabricator.haskell.org/D5388
Showing
- rts/ProfHeap.c 22 additions, 8 deletionsrts/ProfHeap.c
- testsuite/tests/hp2ps/Makefile 9 additions, 0 deletionstestsuite/tests/hp2ps/Makefile
- testsuite/tests/hp2ps/T15904.hs 8 additions, 0 deletionstestsuite/tests/hp2ps/T15904.hs
- testsuite/tests/hp2ps/T15904.stdout 6 additions, 0 deletionstestsuite/tests/hp2ps/T15904.stdout
- testsuite/tests/hp2ps/all.T 1 addition, 0 deletionstestsuite/tests/hp2ps/all.T
- utils/hp2ps/HpFile.c 17 additions, 20 deletionsutils/hp2ps/HpFile.c
Loading
Please register or sign in to comment