diff options
author | Harald Hoyer <harald@redhat.com> | 2012-05-21 18:55:48 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-05-22 16:54:54 +0200 |
commit | 898720b7e9cf3bdf7a93e435cbed5dd6942ecf9b (patch) | |
tree | 2f708eeb4e95b6a55fc256796d9c46bd7c1a73fd /test/TEST-01-BASIC/Makefile | |
parent | 9b958eff3fbcc345a72315a9167f6217dd841c40 (diff) |
test: introduce a basic testsuite framework
$ cd test
$ sudo make check
will run all tests in the TEST-* subdirectories
$ cd test/TEST-01-BASIC
$ sudo make clean setup run
will run the different stages of the test for debugging purposes
Diffstat (limited to 'test/TEST-01-BASIC/Makefile')
-rw-r--r-- | test/TEST-01-BASIC/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/TEST-01-BASIC/Makefile b/test/TEST-01-BASIC/Makefile new file mode 100644 index 0000000000..5e89a29eff --- /dev/null +++ b/test/TEST-01-BASIC/Makefile @@ -0,0 +1,10 @@ +all: + @make -s --no-print-directory -C ../.. all + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --all +setup: + @make --no-print-directory -C ../.. all + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --setup +clean: + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --clean +run: + @basedir=../.. TEST_BASE_DIR=../ ./test.sh --run |