mirror of
https://github.com/mirror/make.git
synced 2025-01-10 20:30:20 +08:00
25 lines
430 B
Plaintext
25 lines
430 B
Plaintext
|
# -*-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;
|