testsuite/recomp001: Sleep to ensure that GHC notices file change
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 17 Jan 2017 20:48:09 +0000 (15:48 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 17 Jan 2017 20:56:27 +0000 (15:56 -0500)
commit769e3ee7671f0a038558b591c58ba340c8c09952
tree4d245b6a96bff2bab653b69fb2a558e87eb97c0a
parent38f289fa2a8715d2d5869e144b764c35cba16c6a
testsuite/recomp001: Sleep to ensure that GHC notices file change

Some operating systems (e.g. Darwin) have very poor file timestamp
resolution.  On these systems GHC often fails to notice that B.hs
changes in this testsuite, leading to sporatic test failures. Add a
sleep to ensure the change is noticed.

Test Plan: Validate

Reviewers: ezyang, austin

Subscribers: mpickering, gracjan, thomie

Differential Revision: https://phabricator.haskell.org/D2964
testsuite/tests/driver/recomp001/Makefile