mirror of
https://git.savannah.gnu.org/git/make.git
synced 2024-12-29 08:09:02 +00:00
24 lines
430 B
Perl
24 lines
430 B
Perl
# -*-perl-*-
|
|
|
|
$description = "The following test creates a makefile to ...";
|
|
|
|
$details = "";
|
|
|
|
$ENV{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;
|