[commit: nofib] master: Make runstdtest find generated fasta stdout files (d0cb9c6)

Johan Tibell johan.tibell at gmail.com
Wed Feb 6 19:12:13 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/nofib

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d0cb9c63c37670aca3217e8f94f54cbac2dcf8c6

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

commit d0cb9c63c37670aca3217e8f94f54cbac2dcf8c6
Author: Johan Tibell <johan.tibell at gmail.com>
Date:   Wed Feb 6 10:10:51 2013 -0800

    Make runstdtest find generated fasta stdout files

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

 shootout/fasta/Makefile |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/shootout/fasta/Makefile b/shootout/fasta/Makefile
index fe28652..c94eec8 100644
--- a/shootout/fasta/Makefile
+++ b/shootout/fasta/Makefile
@@ -33,6 +33,19 @@ fasta.slowstdout : fasta-c
 
 STDOUT_FILES = fasta.faststdout fasta.stdout fasta.slowstdout
 
+# Since the stdout files are created during the run the runstdtest
+# script doesn't correctly pick them up, so we have to specify them
+# explicitly here.
+ifeq "$(mode)" "slow"
+ SRC_RUNTEST_OPTS += -o1 fasta.slowstdout
+else
+ ifeq "$(mode)" "fast"
+  SRC_RUNTEST_OPTS += -o1 fasta.faststdout
+ else
+  SRC_RUNTEST_OPTS += -o1 fasta.stdout
+ endif
+endif
+
 all boot :: $(STDOUT_FILES)
 
 include $(TOP)/mk/target.mk





More information about the ghc-commits mailing list