mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-28 15:57:48 +00:00
24 lines
435 B
Perl
24 lines
435 B
Perl
# -*-perl-*-
|
|
|
|
$description = "The following test creates a makefile to ...";
|
|
|
|
$details = "";
|
|
|
|
$extraENV{GOOGLE} = 'boggle';
|
|
|
|
open(MAKEFILE,"> $makefile");
|
|
|
|
print MAKEFILE <<'EOF';
|
|
GOOGLE = bazzle
|
|
all:; @echo "$(GOOGLE)"
|
|
EOF
|
|
|
|
close(MAKEFILE);
|
|
|
|
&run_make_with_options($makefile, '-e' ,&get_logfile);
|
|
|
|
$answer = "boggle\n";
|
|
|
|
&compare_output($answer,&get_logfile(1));
|
|
|
|
1;
|