diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-06-24 23:31:44 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-25 22:20:59 -0400 |
commit | b90437d8b5c2727450cf45b12fd65cc87a8ab80e (patch) | |
tree | b306df9ec8ca15db6c2a51ef3dc7e4afb6664d72 /testsuite | |
parent | cac8dc9f51e31e4c0a6cd9bc302f7e1bc7c03beb (diff) | |
download | haskell-b90437d8b5c2727450cf45b12fd65cc87a8ab80e.tar.gz |
testsuite: Unbreak T16608 tests
Sleep to avoid non-determinism due to Darwin's poor mtime resolution.
Fixes #16855.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/driver/T16608/Makefile | 2 | ||||
-rw-r--r-- | testsuite/tests/driver/T16608/all.T | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tests/driver/T16608/Makefile b/testsuite/tests/driver/T16608/Makefile index f3a6fae9be..7cec19026b 100644 --- a/testsuite/tests/driver/T16608/Makefile +++ b/testsuite/tests/driver/T16608/Makefile @@ -5,6 +5,7 @@ include $(TOP)/mk/test.mk T16608_1: '$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_1.hs ./T16608_1 + sleep 1 sed -i -e 's/{- . succ -}/. succ/' MyInteger.hs '$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_1.hs ./T16608_1 @@ -12,6 +13,7 @@ T16608_1: T16608_2: '$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_2.hs ./T16608_2 + sleep 1 sed -i -e 's/{- . succ -}/. succ/' MyInteger.hs '$(TEST_HC)' $(TEST_HC_OPTS) --make -O0 T16608_2.hs ./T16608_2 diff --git a/testsuite/tests/driver/T16608/all.T b/testsuite/tests/driver/T16608/all.T index 1f75e596d6..5a1b8dc488 100644 --- a/testsuite/tests/driver/T16608/all.T +++ b/testsuite/tests/driver/T16608/all.T @@ -1,2 +1,2 @@ -test('T16608_1', [when(opsys('darwin'), fragile(16855)), extra_files(['MyInteger.hs'])], makefile_test, []) -test('T16608_2', [when(opsys('darwin'), fragile(16855)), extra_files(['MyInteger.hs'])], makefile_test, []) +test('T16608_1', [extra_files(['MyInteger.hs'])], makefile_test, []) +test('T16608_2', [extra_files(['MyInteger.hs'])], makefile_test, []) |