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:
committed by
Gerald (Jerry) Carter
parent
a55287a285
commit
d796373895
@ -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.";
|
||||
|
Reference in New Issue
Block a user