Home
last modified time | relevance | path

Searched refs:makefile (Results 1 – 25 of 117) sorted by relevance

12345

/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Ddefault_names4 default makefiles in the correct order (GNUmakefile,makefile,Makefile)";
6 # Create a makefile called "GNUmakefile"
7 $makefile = "GNUmakefile";
9 open(MAKEFILE,"> $makefile");
13 # DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile.
14 # Just test what we can here (avoid Makefile versus makefile test).
17 # Create another makefile called "makefile"
18 open(MAKEFILE,"> makefile");
19 print MAKEFILE "SECOND: ; \@echo It chose makefile\n";
23 # Create another makefile called "Makefile"
[all …]
Dinclude13 open(MAKEFILE,"> $makefile");
20 all: ; \@echo There should be no errors for this makefile.
37 print MAKEFILE "ANOTHER: ; \@echo This is another included makefile\n";
42 &run_make_with_options($makefile, "all", &get_logfile);
43 $answer = "There should be no errors for this makefile.\n";
46 &run_make_with_options($makefile, "ANOTHER", &get_logfile);
47 $answer = "This is another included makefile\n";
50 $makefile = undef;
54 # the -include suppressed it during the makefile read phase, we should
55 # see one during the makefile run phase).
Dcomments1 $description = "The following test creates a makefile to test comments\n"
5 $details = "To test comments within a makefile, a semi-colon was placed \n"
13 open(MAKEFILE,"> $makefile");
21 @echo There should be no errors for this makefile.
28 &run_make_with_options($makefile,"",&get_logfile);
31 $answer = "There should be no errors for this makefile.\n";
Ddouble_colon17 open(MAKEFILE,"> $makefile");
48 &run_make_with_options($makefile, "all", &get_logfile, 0);
55 &run_make_with_options($makefile, "-j10 all", &get_logfile, 0);
62 &run_make_with_options($makefile, "bar", &get_logfile, 0);
69 &run_make_with_options($makefile, "-j10 bar", &get_logfile, 0);
79 &run_make_with_options($makefile, "foo", &get_logfile, 0);
86 &run_make_with_options($makefile, "-j10 foo", &get_logfile, 0);
97 &run_make_with_options($makefile, "foo", &get_logfile, 0);
104 &run_make_with_options($makefile, "-j10 foo", &get_logfile, 0);
111 &run_make_with_options($makefile, "d", &get_logfile, 0);
[all …]
Dechoing1 $description = "The following test creates a makefile to test command \n"
29 open(MAKEFILE,"> $makefile");
34 print MAKEFILE "\techo This makefile did not clean the dir... good\n";
47 &run_make_with_options($makefile,"",&get_logfile,0);
48 $answer = "echo This makefile did not clean the dir... good\n"
49 ."This makefile did not clean the dir... good\n";
56 &run_make_with_options($makefile,"clean",&get_logfile,0);
65 &run_make_with_options($makefile,"-n clean",&get_logfile,0);
73 &run_make_with_options($makefile,"-s",&get_logfile,0);
74 $answer = "This makefile did not clean the dir... good\n";
Dmult_targets1 $description = "The following test creates a makefile to test that a \n "
6 $details = "A makefile is created with one rule and two targets. Make \n"
13 open(MAKEFILE,"> $makefile");
26 &run_make_with_options($makefile,"bigoutput",&get_logfile);
34 &run_make_with_options($makefile,"littleoutput",&get_logfile);
Dquoting3 $description = "The following test creates a makefile to test using \n" .
6 open(MAKEFILE,"> $makefile");
22 &run_make_with_options($makefile,"",&get_logfile);
Dvarnesting1 $description = "The following test creates a makefile to ...";
5 open(MAKEFILE,"> $makefile");
21 &run_make_with_options($makefile,"",&get_logfile);
Doverride1 $description = "The following test creates a makefile to ...";
5 open(MAKEFILE,"> $makefile");
20 &run_make_with_options($makefile,"foo=Hello",&get_logfile);
Dpatspecific_vars5 Create a makefile containing various flavors of pattern-specific variable
9 open(MAKEFILE,"> $makefile");
39 &run_make_with_options($makefile, "", &get_logfile);
46 &run_make_with_options($makefile, "BAZ=five", &get_logfile);
53 &run_make_with_options($makefile, "four.x", &get_logfile);
60 &run_make_with_options($makefile, "ab", &get_logfile);
118 run_make_test(undef, # reuse previous makefile
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Derror4 The following test creates a makefile to test the error function.";
8 open(MAKEFILE,"> $makefile");
38 &run_make_with_options($makefile, "ERROR1=yes", &get_logfile, 512);
39 $answer = "$makefile:4: *** error is yes. Stop.\n";
44 &run_make_with_options($makefile, "ERROR2=no", &get_logfile, 512);
45 $answer = "$makefile:8: *** error is no. Stop.\n";
50 &run_make_with_options($makefile, "ERROR3=maybe", &get_logfile, 512);
51 $answer = "Some stuff\n$makefile:12: *** error is maybe. Stop.\n";
56 &run_make_with_options($makefile, "ERROR4=definitely", &get_logfile, 512);
57 $answer = "Some stuff\n$makefile:16: *** error is definitely. Stop.\n";
[all …]
Dwarning4 The following test creates a makefile to test the warning function.";
8 open(MAKEFILE,"> $makefile");
36 &run_make_with_options($makefile, "WARNING1=yes", &get_logfile, 0);
37 $answer = "$makefile:2: warning is yes\nSome stuff\n";
42 &run_make_with_options($makefile, "WARNING2=no", &get_logfile, 0);
43 $answer = "$makefile:6: warning is no\nSome stuff\n";
48 &run_make_with_options($makefile, "WARNING3=maybe", &get_logfile, 0);
49 $answer = "Some stuff\n$makefile:10: warning is maybe\nhi\n";
54 &run_make_with_options($makefile, "WARNING4=definitely", &get_logfile, 0);
55 $answer = "Some stuff\n$makefile:14: warning is definitely\nhi\nthere\n";
Daddsuffix7 open(MAKEFILE,"> $makefile");
23 &run_make_with_options($makefile, "", &get_logfile);
30 &run_make_with_options($makefile, "two", &get_logfile);
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-f14 open(MAKEFILE,"> $makefile");
19 print MAKEFILE "\t\@echo This is the output from the original makefile\n";
25 # Create a second makefile
28 print MAKEFILE "\t\@echo This is the output from makefile 2\n";
31 # Create a third makefile
34 print MAKEFILE "\t\@echo This is the output from makefile 3\n";
39 $answer = "This is the output from the original makefile\n";
42 &run_make_with_options($makefile,"-f $makefile2 -f $makefile3",&get_logfile,0);
47 # Run Make again with the rule from the second makefile: TWO
48 $answer = "This is the output from makefile 2\n";
[all …]
Ddash-I3 $description ="The following test creates a makefile to test the -I option.";
14 open(MAKEFILE,"> $makefile");
22 \t\@echo There should be no errors for this makefile.
34 \t\@echo This is another included makefile
36 \t\$(MAKE) ANOTHER -f $makefile
41 &run_make_with_options($makefile,"-I $workdir all",&get_logfile);
44 $answer = "There should be no errors for this makefile.\n";
48 $answer = "This is another included makefile\n";
49 &run_make_with_options($makefile,"-I $workdir ANOTHER",&get_logfile);
53 $answer = "$mkpath ANOTHER -f $makefile
[all …]
Ddash-e3 $description = "The following test creates a makefile to ...";
9 open(MAKEFILE,"> $makefile");
18 &run_make_with_options($makefile, '-e' ,&get_logfile);
/ndk/sources/host-tools/make-3.81/tests/
Drun_make_tests.pl93 $makefile = $old_makefile;
95 if (! defined($makefile)) {
96 $makefile = &get_tmpfile();
104 $makestring =~ s/#MAKEFILE#/$makefile/g;
110 open(MAKEFILE, "> $makefile") || die "Failed to open $makefile: $!\n";
112 close(MAKEFILE) || die "Failed to write $makefile: $!\n";
118 $answer =~ s/#MAKEFILE#/$makefile/g;
123 &run_make_with_options($makefile, $options, &get_logfile(0), $err_code);
126 $old_makefile = $makefile;
127 $makefile = undef;
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/targets/
DSECONDARY16 open(MAKEFILE,"> $makefile");
38 &run_make_with_options($makefile,'foo.d',&get_logfile);
46 &run_make_with_options($makefile,'foo.d',&get_logfile);
55 &run_make_with_options($makefile,'foo.d',&get_logfile);
61 &run_make_with_options($makefile,'foo.c',&get_logfile);
69 &run_make_with_options($makefile,'foo.c',&get_logfile);
78 &run_make_with_options($makefile,'foo.c',&get_logfile);
Dclean3 $description = "The following test creates a makefile to delete a \n"
10 open(MAKEFILE,"> $makefile");
15 print MAKEFILE "\t\@echo This makefile did not clean the dir... good\n";
26 &run_make_with_options($makefile,"",&get_logfile,0);
29 $answer = "This makefile did not clean the dir... good\n";
35 &run_make_with_options($makefile,"clean",&get_logfile,0);
DDEFAULT1 $description = "The following test creates a makefile to override part\n"
7 ."in the containing makefile, make should look in another makefile\n"
8 ."This test gives this makefile the target bar which is not \n"
9 ."defined here but passes the target bar on to another makefile\n"
14 open(MAKEFILE,"> $makefile");
35 &run_make_with_options($makefile,'bar',&get_logfile);
DINTERMEDIATE7 Create a makefile where a file would not normally be considered
16 open(MAKEFILE,"> $makefile");
38 &run_make_with_options($makefile,'foo.d',&get_logfile);
44 &run_make_with_options($makefile,'foo.d',&get_logfile);
53 &run_make_with_options($makefile,'foo.d',&get_logfile);
59 &run_make_with_options($makefile,'foo.c',&get_logfile);
65 &run_make_with_options($makefile,'foo.c',&get_logfile);
74 &run_make_with_options($makefile,'foo.c',&get_logfile);
80 &run_make_with_options($makefile,'foo.e',&get_logfile);
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
DMFILE_LIST7 open(MAKEFILE,"> $makefile");
26 &run_make_with_options($makefile, "", &get_logfile);
27 $answer = "$makefile\n$makefile $makefile2\n$makefile $makefile2\n";
DMAKECMDGOALS6 We construct a makefile with various targets, all of which print out
9 open(MAKEFILE,"> $makefile");
18 &run_make_with_options($makefile,
27 &run_make_with_options($makefile,
37 &run_make_with_options($makefile,
DMAKE3 $description = "The following test creates a makefile to test MAKE \n"
8 open(MAKEFILE,"> $makefile");
16 print MAKEFILE "\t\$(MAKE) -f $makefile foo\n\n";
25 $answer = "$mkpath\n$mkpath -f $makefile foo\n"
29 &run_make_with_options($makefile,"",&get_logfile,0);
DMAKELEVEL3 $description = "The following test creates a makefile to test
7 open(MAKEFILE,"> $makefile");
23 &run_make_with_options($makefile,"",&get_logfile);

12345