Commit 6011b4e5 authored by simonmar's avatar simonmar

[project @ 2001-08-22 10:42:32 by simonmar]

Use makefiles in the subdirectories to ease running the test driver in
a subdirectory.  It can be run in the following ways:

 	make		-- run all the tests in the current directory
 	make verbose	-- as make test, but up the verbosity
 	make accept	-- run the tests, accepting the current output

and you can also set some variables on the command line, eg.

	make accept TESTS=arr001  -- accept an individual test
	make EXTRA_HC_OPTS='-v'   -- extra flags to the haskell compiler
	make CONFIG=<config>	  -- use a different test config

this will all go in the docs at some point.
parent 730ab9b8
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
#!/bin/sh
# Run the tests in this directory in an easy way
# The next line is the only one you need to modify
# should this directory change location relative to
# the top of the testsuite dir
TESTSUITE_ROOT=../../../..
# We assume that $TESTSUITE_ROOT/config/default/default.T is a symlink
# to the real config file you wish to use.
exec $TESTSUITE_ROOT/driver/runtests \
--tool=$TESTSUITE_ROOT/../ghc/compiler/ghc-inplace \
--config=$TESTSUITE_ROOT/config/default/default.T \
--rootdir=. \
$*
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment