diff options
Diffstat (limited to 'testsuite/tests/stranal/should_compile')
-rw-r--r-- | testsuite/tests/stranal/should_compile/Makefile | 6 | ||||
-rw-r--r-- | testsuite/tests/stranal/should_compile/T10482.stdout | 2 | ||||
-rw-r--r-- | testsuite/tests/stranal/should_compile/T10482a.stdout | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/testsuite/tests/stranal/should_compile/Makefile b/testsuite/tests/stranal/should_compile/Makefile index c187ddcdc4..c7ef4304ae 100644 --- a/testsuite/tests/stranal/should_compile/Makefile +++ b/testsuite/tests/stranal/should_compile/Makefile @@ -8,11 +8,13 @@ include $(TOP)/mk/test.mk # with two unboxed args. See Trac #10482 for background T10482: $(RM) -f T10482.o T10482.hi - '$(TEST_HC)' $(TEST_HC_OPTS) -O -c -ddump-simpl T10482.hs | grep 'T10482.*wfoo.*Int' + # Set -dppr-cols to ensure output doesn't wrap + '$(TEST_HC)' $(TEST_HC_OPTS) -dppr-cols=200 -O -c -ddump-simpl T10482.hs | grep 'T10482.*wfoo.*Int' T10482a: $(RM) -f T10482a.o T10482a.hi - '$(TEST_HC)' $(TEST_HC_OPTS) -O -c -ddump-simpl T10482a.hs | grep 'wf.*Int' + # Set -dppr-cols to ensure output doesn't wrap + '$(TEST_HC)' $(TEST_HC_OPTS) -dppr-cols=200 -O -c -ddump-simpl T10482a.hs | grep 'wf.*Int' T10694: $(RM) -f T10694.o diff --git a/testsuite/tests/stranal/should_compile/T10482.stdout b/testsuite/tests/stranal/should_compile/T10482.stdout index 010cb4c60e..7f8789d5f4 100644 --- a/testsuite/tests/stranal/should_compile/T10482.stdout +++ b/testsuite/tests/stranal/should_compile/T10482.stdout @@ -1 +1 @@ -T10482.$wfoo [InlPrag=[0], Occ=LoopBreaker] :: Int# -> Int# -> Int# +T10482.$wfoo [InlPrag=[0], Occ=LoopBreaker] :: GHC.Prim.Int# -> GHC.Prim.Int# -> GHC.Prim.Int# diff --git a/testsuite/tests/stranal/should_compile/T10482a.stdout b/testsuite/tests/stranal/should_compile/T10482a.stdout index 80ec26d661..d26b45fe1a 100644 --- a/testsuite/tests/stranal/should_compile/T10482a.stdout +++ b/testsuite/tests/stranal/should_compile/T10482a.stdout @@ -1,4 +1,4 @@ -Foo.$wf4 [InlPrag=[0], Occ=LoopBreaker] :: Int# -> Int# -> Int# -Foo.$wf2 [InlPrag=[0], Occ=LoopBreaker] :: Int# -> Int# -> Int# -Foo.$wf1 [InlPrag=[0], Occ=LoopBreaker] :: Int# -> Int# -Foo.$wf3 [InlPrag=[0], Occ=LoopBreaker] :: Int# -> Int# -> Int# +Foo.$wf4 [InlPrag=[0], Occ=LoopBreaker] :: GHC.Prim.Int# -> GHC.Prim.Int# -> GHC.Prim.Int# +Foo.$wf2 [InlPrag=[0], Occ=LoopBreaker] :: GHC.Prim.Int# -> GHC.Prim.Int# -> GHC.Prim.Int# +Foo.$wf1 [InlPrag=[0], Occ=LoopBreaker] :: GHC.Prim.Int# -> GHC.Prim.Int# +Foo.$wf3 [InlPrag=[0], Occ=LoopBreaker] :: GHC.Prim.Int# -> GHC.Prim.Int# -> GHC.Prim.Int# |