xref: /netbsd-src/external/gpl2/gmake/dist/tests/scripts/options/dash-e (revision 69606e3f5c9388e52aed8c120ad63c049ca45d8f)
1*69606e3fSchristos#                                                                    -*-perl-*-
2*69606e3fSchristos
3*69606e3fSchristos$description = "The following test creates a makefile to ...";
4*69606e3fSchristos
5*69606e3fSchristos$details = "";
6*69606e3fSchristos
7*69606e3fSchristos$extraENV{GOOGLE} = 'boggle';
8*69606e3fSchristos
9*69606e3fSchristosopen(MAKEFILE,"> $makefile");
10*69606e3fSchristos
11*69606e3fSchristosprint MAKEFILE <<'EOF';
12*69606e3fSchristosGOOGLE = bazzle
13*69606e3fSchristosall:; @echo "$(GOOGLE)"
14*69606e3fSchristosEOF
15*69606e3fSchristos
16*69606e3fSchristosclose(MAKEFILE);
17*69606e3fSchristos
18*69606e3fSchristos&run_make_with_options($makefile, '-e' ,&get_logfile);
19*69606e3fSchristos
20*69606e3fSchristos$answer = "boggle\n";
21*69606e3fSchristos
22*69606e3fSchristos&compare_output($answer,&get_logfile(1));
23*69606e3fSchristos
24*69606e3fSchristos1;
25