From 0d366b668244112846554c42045ff1d9956276ed Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 14 Sep 1999 02:03:19 +0000 Subject: * Added the test suite to the main distribution. --- tests/scripts/misc/general1 | 51 +++++++++++++++++++++++++++++++++++++++++++++ tests/scripts/misc/general2 | 50 ++++++++++++++++++++++++++++++++++++++++++++ tests/scripts/misc/general3 | 45 +++++++++++++++++++++++++++++++++++++++ tests/scripts/misc/version | 35 +++++++++++++++++++++++++++++++ 4 files changed, 181 insertions(+) create mode 100644 tests/scripts/misc/general1 create mode 100644 tests/scripts/misc/general2 create mode 100644 tests/scripts/misc/general3 create mode 100644 tests/scripts/misc/version (limited to 'tests/scripts/misc') diff --git a/tests/scripts/misc/general1 b/tests/scripts/misc/general1 new file mode 100644 index 0000000..352fc6a --- /dev/null +++ b/tests/scripts/misc/general1 @@ -0,0 +1,51 @@ +# -*-perl-*- + +$description = "The following test creates a makefile to test the +simple functionality of make. It mimics the +rebuilding of a product with dependencies. +It also tests the simple definition of VPATH."; + +open(MAKEFILE,"> $makefile"); + +print MAKEFILE < $makefile"); + +# The contents of the Makefile ... + +print MAKEFILE < $makefile"); + +# The contents of the Makefile ... + +print MAKEFILE < $makefile"); + +# The Contents of the MAKEFILE ... + +print MAKEFILE "all: \n"; + +# END of Contents of MAKEFILE + +close(MAKEFILE); + +&run_make_with_options($makefile,"-v",&get_logfile,0); + +# This tells the test driver that the perl test script executed properly. +1; + + + + + + + + + + + + + + + + + -- cgit v1.2.3