testsuite: Don't rely on find command in T15038
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 26 May 2018 08:04:18 +0000 (11:04 +0300)
committerÖmer Sinan Ağacan <omeragacan@gmail.com>
Sat, 26 May 2018 08:04:41 +0000 (11:04 +0300)
Test Plan: Validate

Reviewers: int-index, osa1

Reviewed By: osa1

Subscribers: rwbarton, thomie, carter

GHC Trac Issues: #15038

Differential Revision: https://phabricator.haskell.org/D4723

testsuite/tests/codeGen/should_run/T15038/Makefile

index 5084949..48493c0 100644 (file)
@@ -4,6 +4,12 @@ include $(TOP)/mk/test.mk
 
 .PHONY: T15038
 T15038:
-       '$(TEST_HC)' $(TEST_HC_OPTS) $(shell find . -iname '*.hs') -O2 -o Main \
+       '$(TEST_HC)' $(TEST_HC_OPTS)  -O2 -o Main \
+         ./test/Main.hs \
+         ./test/Parser.hs \
+         ./src/Packed/Bytes/Stream/ST.hs \
+         ./src/Packed/Bytes/Parser.hs \
+         ./src/Packed/Bytes.hs \
+         ./common/Data/Trie/Naive.hs \
                -package containers -package ghc-prim -package primitive
        ./Main