[move runstdtest into nofib Simon Marlow **20090428124505 Ignore-this: 98eae5d994693ed8235e8693f3615899 ] { hunk ./mk/config.mk.in 613 -GHC_RUNTEST_DIR = $(GHC_UTILS_DIR)/runstdtest hunk ./mk/config.mk.in 653 -GHC_RUNTEST_PGM = runstdtest hunk ./mk/config.mk.in 670 -RUNTEST = $(GHC_RUNTEST_DIR)/$(GHC_RUNTEST_PGM) hunk ./utils/runstdtest/Makefile 1 -TOP=../.. -include $(TOP)/mk/boilerplate.mk - -PROG=runstdtest -CLEAN_FILES += $(PROG) -all:: - $(RM) -f $(PROG) - echo '#!$(PERL)' >> $(PROG) - echo '$$RM = "$(RM)";' >> $(PROG) - echo '$$DEFAULT_TMPDIR = "$(DEFAULT_TMPDIR)";' >> $(PROG) - echo '$$CONTEXT_DIFF = "$(CONTEXT_DIFF)";' >> $(PROG) - cat $(PROG).prl >> $(PROG) - $(EXECUTABLE_FILE) $(PROG) - -binary-dist: - @: - -include $(TOP)/mk/target.mk rmfile ./utils/runstdtest/Makefile hunk ./utils/runstdtest/runstdtest.prl 1 -# -# The perl script requires the following variables to be bound -# to something meaningful before it will operate correctly: -# -# DEFAULT_TMPDIR -# CONTEXT_DIFF -# RM -# -# Given: -# * a program to run (1st arg) -# * some "command-line opts" ( -O -O ... ) -# [default: anything on the cmd line this script doesn't recognise ] -# the first opt not starting w/ "-" is taken to be an input -# file and (if it exists) is grepped for "what's going on here" -# comments (^-- !!!). -# * a file to feed to stdin ( -i ) [default: /dev/null ] -# * a "time" command to use (-t ). -# -# * alternatively, a "-script