This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add test for grep() and wantarray
[perl5.git] / t / harness
CommitLineData
a5f75d66
AD
1#!./perl
2
3# We suppose that perl _mostly_ works at this moment, so may use
4# sophisticated testing.
5
6# Note that _before install_ you may need to run it with -I ../lib flag
7
8use lib '../lib';
9use Test::Harness;
10
11$Test::Harness::switches = ""; # Too much noise otherwise
90ce63d5 12$Test::Harness::verbose = shift if @ARGV && $ARGV[0] eq '-v';
a5f75d66
AD
13
14@tests = @ARGV;
15@tests = <*/*.t> unless @tests;
16Test::Harness::runtests @tests;