1
0
mirror of synced 2026-02-18 21:06:55 +00:00

2006-06-24 20:22:40 by steve

Use the `prove` command to run our tests, this allows them to be shuffled,
 or randomised, which is a good thing.
This commit is contained in:
steve
2006-06-24 20:22:41 +00:00
parent d43d01cb4a
commit c51de7825e
2 changed files with 6 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
# --
# http://www.steve.org.uk/
#
# $Id: Makefile,v 1.68 2006-06-23 18:32:26 steve Exp $
# $Id: Makefile,v 1.69 2006-06-24 20:22:40 steve Exp $
#
@@ -188,14 +188,15 @@ release: test update-version update-modules clean changelog
# Run the test suite.
#
test:
@perl -MTest::Harness -e '$$Test::Harness::verbose=0; runtests @ARGV;' tests/*.t
prove --shuffle tests/
#
# Run the test suite verbosely.
#
test-verbose:
@perl -MTest::Harness -e '$$Test::Harness::verbose=1; runtests @ARGV;' tests/*.t
prove --shuffle --verbose tests/
#

View File

@@ -1,9 +1,9 @@
all:
@cd ..; perl -MTest::Harness -e '$$Test::Harness::verbose=0; runtests @ARGV;' tests/*.t
@cd ..; prove --shuffle tests/
verbose:
@cd ..; perl -MTest::Harness -e '$$Test::Harness::verbose=1; runtests @ARGV;' tests/*.t
@cd ..; prove --shuffle --verbose tests/
modules: .PHONY