File: env.t

package info (click to toggle)
libpkgconfig-perl 0.26026-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,912 kB
  • sloc: ansic: 6,120; perl: 1,922; makefile: 4; sh: 3
file content (12 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;
use Test::More tests => 1;
use Env qw( @PKG_CONFIG_PATH @PKG_CONFIG_LIBDIR );

@PKG_CONFIG_PATH   = qw( /foo /bar );
@PKG_CONFIG_LIBDIR = qw( /baz /roger );

require PkgConfig;

no warnings 'once';
is_deeply \@PkgConfig::DEFAULT_SEARCH_PATH, [qw( /foo /bar /baz /roger )], "honors both PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR";