File: checkenv

package info (click to toggle)
libmakefile-dom-perl 0.008-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 680 kB
  • ctags: 620
  • sloc: perl: 7,616; makefile: 2
file content (17 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env perl
# Check environment settings for the testers.

use strict;
use warnings;

sub check ($$) {
    my ($env, $desc) = @_;
    my $val = $ENV{$env} || '<DEFAULT>';
    print "$desc\t=>\t$env = $val\n";
}

check 'TEST_SHELL_PATH', 't/sh/*.t';
print "\n";
check 'GNU_MAKE_PATH', 't/gnu/*/*.t';
check 'GNU_SHELL_PATH', 't/gnu/*/*.t';