summaryrefslogtreecommitdiffstats
path: root/make/make-3.81/tests/scripts/features/vpathgpath
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/features/vpathgpath
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/features/vpathgpath')
-rw-r--r--make/make-3.81/tests/scripts/features/vpathgpath66
1 files changed, 0 insertions, 66 deletions
diff --git a/make/make-3.81/tests/scripts/features/vpathgpath b/make/make-3.81/tests/scripts/features/vpathgpath
deleted file mode 100644
index f7683f5..0000000
--- a/make/make-3.81/tests/scripts/features/vpathgpath
+++ /dev/null
@@ -1,66 +0,0 @@
-# -*-perl-*-
-$description = "Tests VPATH+/GPATH functionality.";
-
-$details = "";
-
-$VP = "$workdir$pathsep";
-
-open(MAKEFILE,"> $makefile");
-
-# The Contents of the MAKEFILE ...
-
-print MAKEFILE "VPATH = $VP\n";
-
-print MAKEFILE <<'EOMAKE';
-
-GPATH = $(VPATH)
-
-.SUFFIXES: .a .b .c .d
-.PHONY: general rename notarget intermediate
-
-%.a:
-%.b:
-%.c:
-%.d:
-
-%.a : %.b ; cat $^ > $@
-%.b : %.c ; cat $^ > $@
-%.c :: %.d ; cat $^ > $@
-
-# General testing info:
-
-general: foo.b
-foo.b: foo.c bar.c
-
-EOMAKE
-
-close(MAKEFILE);
-
-@touchedfiles = ();
-
-$off = -500;
-
-sub touchfiles {
- foreach (@_) {
- ($f = $_) =~ s,VP/,$VP,g;
- &utouch($off, $f);
- $off += 10;
- push(@touchedfiles, $f);
- }
-}
-
-# Run the general-case test
-
-&touchfiles("VP/foo.d", "VP/bar.d", "VP/foo.c", "VP/bar.c", "foo.b", "bar.d");
-
-&run_make_with_options($makefile,"general",&get_logfile());
-
-push(@touchedfiles, "bar.c");
-
-$answer = "$make_name: Nothing to be done for `general'.\n";
-
-&compare_output($answer,&get_logfile(1));
-
-unlink(@touchedfiles) unless $keep;
-
-1;