[commit: ghc] master: testsuite: Don't rely on find command in T15038 (11eed2f)

git at git.haskell.org git at git.haskell.org
Sat May 26 08:05:17 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/11eed2f41f7a1ad461ab0717d2e4e46d0cca0f03/ghc

>---------------------------------------------------------------

commit 11eed2f41f7a1ad461ab0717d2e4e46d0cca0f03
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Sat May 26 11:04:18 2018 +0300

    testsuite: Don't rely on find command in T15038
    
    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


>---------------------------------------------------------------

11eed2f41f7a1ad461ab0717d2e4e46d0cca0f03
 testsuite/tests/codeGen/should_run/T15038/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/testsuite/tests/codeGen/should_run/T15038/Makefile b/testsuite/tests/codeGen/should_run/T15038/Makefile
index 5084949..48493c0 100644
--- a/testsuite/tests/codeGen/should_run/T15038/Makefile
+++ b/testsuite/tests/codeGen/should_run/T15038/Makefile
@@ -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



More information about the ghc-commits mailing list