diff options
author | Roland Senn <rsx@bluewin.ch> | 2018-12-04 00:17:47 +0000 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2018-12-04 07:14:45 +0000 |
commit | 6090002e19d5c888c2eda0ce06dd84e3c46aa0c9 (patch) | |
tree | 1181f811aa2d72f827f4502bf6e11856a3f4072d /testsuite/tests/driver/Makefile | |
parent | 51e56dd5e299a6d7a0a3b0b97afd33dbd3485279 (diff) | |
download | haskell-6090002e19d5c888c2eda0ce06dd84e3c46aa0c9.tar.gz |
Improve test T14452 for Windows
Summary: Under Windows all parameters to gcc are enclosed in quotes, opposite to
Linux, where the quotes are missing. Therefore in the test, we remove all
quotes in the stdout file with sed.
Test Plan: make test TEST=T14452
Reviewers: osa1, hvr, bgamari, monoidal, Phyx, simonpj
Reviewed By: Phyx
Subscribers: rwbarton, carter
GHC Trac Issues: #14452
Differential Revision: https://phabricator.haskell.org/D5398
Diffstat (limited to 'testsuite/tests/driver/Makefile')
-rw-r--r-- | testsuite/tests/driver/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/driver/Makefile b/testsuite/tests/driver/Makefile index e60df7a823..d1bb30ff37 100644 --- a/testsuite/tests/driver/Makefile +++ b/testsuite/tests/driver/Makefile @@ -672,4 +672,5 @@ T12971: .PHONY: T14452 T14452: "$(TEST_HC)" $(TEST_HC_OPTS) -v -c -O2 T14452.hs 2>&1 | grep 'O3' \ - | awk 'NF{print $$NF; exit}' # awk: extract last word of line + | awk 'NF{print $$NF; exit}' | sed 's/\"//g' + # awk: extract last word of line, sed: remove quotes |