1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

r12776: use $ENV{TEST_DATA_PREFIX} for test files if available

metze
(This used to be commit 5552eaa37c)
This commit is contained in:
Stefan Metzmacher
2006-01-08 20:20:18 +00:00
committed by Gerald (Jerry) Carter
parent a55287a285
commit d796373895

View File

@ -45,7 +45,14 @@ SKIP: {
skip "no sane C compiler, skipping compilation", 3
if not $sanecc;
my $outfile = "test-$name";
my $test_data_prefix = $ENV{TEST_DATA_PREFIX};
my $outfile;
if (defined($test_data_prefix)) {
$outfile = "$test_data_prefix/test-$name";
} else {
$outfile = "test-$name";
}
#my $cflags = $ENV{CFLAGS};
my $cflags = "-Iinclude -Ilib -I.";