File: single_test.pl

package info (click to toggle)
libhtml-mason-perl 1%3A1.58-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,796 kB
  • sloc: perl: 8,618; sh: 49; makefile: 2
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;
}