summaryrefslogtreecommitdiffstats
path: root/make/make-3.81/tests/scripts/options/dash-I
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 04:13:19 +0100
committerLukc <lukc@upyum.com>2010-12-12 04:13:19 +0100
commit9769d39d792c1e912234e23e663ba8bd21a6386e (patch)
tree76bf5a6a6c756cf78c73a847b2ff3ec97f048ee7 /make/make-3.81/tests/scripts/options/dash-I
parentabb6804a2c95065cbc228c3726781d44ed04e6cd (diff)
downloadbase-9769d39d792c1e912234e23e663ba8bd21a6386e.tar.gz
base-9769d39d792c1e912234e23e663ba8bd21a6386e.tar.bz2
base-9769d39d792c1e912234e23e663ba8bd21a6386e.tar.xz
base-9769d39d792c1e912234e23e663ba8bd21a6386e.zip
Recette de make retir?e.
Diffstat (limited to 'make/make-3.81/tests/scripts/options/dash-I')
-rw-r--r--make/make-3.81/tests/scripts/options/dash-I59
1 files changed, 0 insertions, 59 deletions
diff --git a/make/make-3.81/tests/scripts/options/dash-I b/make/make-3.81/tests/scripts/options/dash-I
deleted file mode 100644
index 8dc5d9b..0000000
--- a/make/make-3.81/tests/scripts/options/dash-I
+++ /dev/null
@@ -1,59 +0,0 @@
-# -*-perl-*-
-
-$description ="The following test creates a makefile to test the -I option.";
-
-$details = "\
-This test tests the -I option by including a filename in
-another directory and giving make that directory name
-under -I in the command line. Without this option, the make
-would fail to find the included file. It also checks to make
-sure that the -I option gets passed to recursive makes.";
-
-$makefile2 = &get_tmpfile;
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-$mf2 = substr ($makefile2, index ($makefile2, $pathsep) + 1);
-print MAKEFILE <<EOF;
-include $mf2
-all:
-\t\@echo There should be no errors for this makefile.
-EOF
-
-# END of Contents of MAKEFILE
-
-close(MAKEFILE);
-
-
-open(MAKEFILE,"> $makefile2");
-
-print MAKEFILE <<EOF;
-ANOTHER:
-\t\@echo This is another included makefile
-recurse:
-\t\$(MAKE) ANOTHER -f $makefile
-EOF
-
-close(MAKEFILE);
-
-&run_make_with_options($makefile,"-I $workdir all",&get_logfile);
-
-# Create the answer to what should be produced by this Makefile
-$answer = "There should be no errors for this makefile.\n";
-&compare_output($answer,&get_logfile(1));
-
-
-$answer = "This is another included makefile\n";
-&run_make_with_options($makefile,"-I $workdir ANOTHER",&get_logfile);
-&compare_output($answer,&get_logfile(1));
-
-
-$answer = "$mkpath ANOTHER -f $makefile
-${make_name}[1]: Entering directory `$pwd'
-This is another included makefile
-${make_name}[1]: Leaving directory `$pwd'\n";
-
-&run_make_with_options($makefile,"-I $workdir recurse",&get_logfile);
-&compare_output($answer,&get_logfile(1));