summaryrefslogtreecommitdiff
path: root/README.vms
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2002-06-16 19:31:18 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-17 12:45:10 +0000
commit96d6186eb0e13b8254c281e525c46fd69116dc08 (patch)
tree8ec8af4dc8f85515f5115fdcba668be7bd17cbee /README.vms
parent947cb11492b627fa9c48ff51b199d66ea2a1fdf2 (diff)
downloadperl-96d6186eb0e13b8254c281e525c46fd69116dc08.tar.gz
README.vms -- updated testing instructions
From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <a05111b1cb9332326226f@[172.16.52.1]> p4raw-id: //depot/perl@17268
Diffstat (limited to 'README.vms')
-rw-r--r--README.vms21
1 files changed, 20 insertions, 1 deletions
diff --git a/README.vms b/README.vms
index 06deb13a93..2739c0eb8e 100644
--- a/README.vms
+++ b/README.vms
@@ -289,6 +289,17 @@ a lot of tests. If any tests fail, there will be a note made on-screen.
At the end of all the tests, a summary of the tests, the number passed and
failed, and the time taken will be displayed.
+The test driver invoked via MMS TEST has a DCL wrapper ([.VMS]TEST.COM) that
+downgrades privileges to NETMBX, TMPMBX for the duration of the test run,
+and then restores them to their prior state upon completion of testing.
+This is done to ensure that the tests run in a private sandbox and can do no
+harm to your system even in the unlikely event something goes badly wrong in
+one of the test scripts while running the tests from a privileged account.
+A side effect of this safety precaution is that the account used to run the
+test suite must be the owner of the directory tree in which Perl has been
+built; otherwise the manipulations of temporary files and directories
+attempted by some of the tests will fail.
+
If any tests fail, it means something is wrong with Perl. If the test suite
hangs (some tests can take upwards of two or three minutes, or more if
you're on an especially slow machine, depending on your machine speed, so
@@ -304,10 +315,18 @@ issuing this command sequence:
where ".typ" is the file type of the Perl images you just built (if you
didn't do anything special, use .EXE), and "[.subdir]test.T" is the test
that failed. For example, with a normal Perl build, if the test indicated
-that [.op]time failed, then you'd do this:
+that t/op/time failed, then you'd do this:
@ [.VMS]TEST .EXE "" "-v" [.OP]TIME.T
+Note that test names are reported in UNIX syntax and relative to the
+top-level build directory. When supplying them individually to the test
+driver, you can use either UNIX or VMS syntax, but you must give the path
+relative to the [.T] directory and you must also add the .T extension to the
+filename. So, for example if the test lib/Math/Trig fails, you would run:
+
+ @ [.VMS]TEST .EXE "" -"v" [-.lib.math]trig.t
+
When you send in a bug report for failed tests, please include the output
from this command, which is run from the main source directory: