Andrew (Ross), I have an interesting question for you. There is something
going on where ctest reports a test pass even when the script fails.
Here is an example:
Before I fixed the chmod problem in plplot-test.sh I got the following output:
[EMAIL PROTECTED]> ctest --verbose --tests-regex octave
Start processing tests
Test project /home/software/plplot_cvs/HEAD/build_dir
Constructing a list of tests
Done constructing a list of tests
Changing directory into /home/software/plplot_cvs/HEAD/build_dir/test
4/ 6 Testing examples_octave
Test command: /bin/bash -c
EXAMPLES_DIR=/home/software/plplot_cvs/HEAD/build_dir/examples\
SRC_EXAMPLES_DIR=/home/software/plplot_cvs/HEAD/plplot_cmake/examples\
PLPLOT_LIB=/home/software/plplot_cvs/HEAD/plplot_cmake/data/\ ./plplot-test.sh\
--front-end=octave
Testing front-end octave
PLplot library version: 5.7.1
You are in Locate mode. Click any mouse button or press any key
and the current cursor position will be printed.
Please keep <NumLock> and <CapsLock> off.
Terminate locate mode with the <Enter> key.
Finish the plot with the <Enter> or <ESC> key or the 3d mouse button
chmod: too few arguments
Try chmod --help' for more information.
-- Process completed
Passed
The following tests passed:
examples_octave
100% tests passed, 0 tests failed out of 1
How come the chmod error in plplot-test.sh (since fixed) did not generate a
ctest failure message?
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel