File: single_test.pl

package info (click to toggle)
libhtml-mason-perl 1%3A1.39-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,072 kB
  • ctags: 1,535
  • sloc: perl: 17,624; sh: 187; makefile: 12
file content (13 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/perl

use strict;

foreach (@ARGV) {
  $ENV{MASON_NO_CLEANUP} = 1;
  my @command = (-e 'Build' ?
                 ('Build', 'test', "test_files=$_", 'verbose=1') :
                 ('make', 'test', "TEST_FILES=$_", 'TEST_VERBOSE=1')
                );
  print "@command\n";
  system @command;
}