diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-11 12:48:32 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-16 06:26:38 -0400 |
commit | a0f683795a72f7b82962d24098b1dc7c2b04ab29 (patch) | |
tree | ac3081c146b9360ac4c39d761d732295a5c1862f /testsuite/tests/rts/Makefile | |
parent | 81608e82dfed7e78c1bba189f26c8c760f7c196a (diff) | |
download | haskell-a0f683795a72f7b82962d24098b1dc7c2b04ab29.tar.gz |
testsuite: Ensure T5423 flushes C output buffer
Previously T5423 would fail to flush the printf output buffer.
Consequently it was platform-dependent whether the C or Haskell print
output would be emitted first.
Diffstat (limited to 'testsuite/tests/rts/Makefile')
-rw-r--r-- | testsuite/tests/rts/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/rts/Makefile b/testsuite/tests/rts/Makefile index 32c2b17e27..51f2746c1f 100644 --- a/testsuite/tests/rts/Makefile +++ b/testsuite/tests/rts/Makefile @@ -37,7 +37,8 @@ T5423: $(RM) T5423_cmm.o T5423.o T5423.hi T5423$(exeext) "$(TEST_HC)" $(TEST_HC_OPTS) -v0 -c T5423_cmm.cmm "$(TEST_HC)" $(TEST_HC_OPTS) -v0 -c T5423.hs - "$(TEST_HC)" $(TEST_HC_OPTS) -v0 T5423.o T5423_cmm.o -o T5423$(exeext) + "$(TEST_HC)" $(TEST_HC_OPTS) -v0 -c T5423_c.c + "$(TEST_HC)" $(TEST_HC_OPTS) -v0 T5423.o T5423_cmm.o T5423_c.o -o T5423$(exeext) ./T5423 .PHONY: T9405 |