--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+driver
\ No newline at end of file
--- /dev/null
+
+all: test
+
+test:
+ prove *.t
+
Running Tests
=============
- perl ./Setup
prove *.t
To add a new test, you want to add two things - a test script (which
is typically just a symlink to the main 'driver' script), and a test
-directory. If you just want a symlink test script, then add your
-test script name to 'Tests', and rerun Setup. To add a new test
-directory, you're probably best just to copy one of the existing
-ones - 'templates' is a good choice:
+directory. To add a new test directory, you're probably best just to
+copy one of the existing ones - 'templates' is a good choice:
cp -rp templates newtest
+++ /dev/null
-#!/usr/bin/env perl
-#
-# Script to setup test script symlinks, since CVS can't store them
-#
-
-use strict;
-use IO::File;
-
-my $DRIVER = 'driver';
-my $TESTS = 'Tests';
-die "cannot find driver file '$DRIVER'" unless -f $DRIVER;
-die "cannot find tests file '$TESTS'" unless -f $TESTS;
-
-my @tests = ();
-
-my $th = IO::File->new($TESTS, 'r')
- or die "cannot open tests file '$TESTS': $!";
-@tests = <$th>;
-close $th;
-
-for my $t (@tests) {
- chomp $t;
- unlink $t if -l $t;
- print "symlink $DRIVER $t\n";
- eval { symlink $DRIVER, $t } or die "symlink $DRIVER, $t failed: $!";
-}
-
+++ /dev/null
-01_templates.t
-02_smoketest.t
-03_permalinks.t
-03_interpolate.t
-04_plugin_dir.t
-04_plugin_list.t
-08_static_basic.t