FIXME: this does not work To run all the tests, try:
cd metro make tests
Basically, a cronjob on gigasource runs a makefile that does
a cvs update and then runs A summary of the output gets emailed to members of the metropolis-cvs list
and the complete output gets copied
to Once the test directory has been committed to CVS, it needs
to be added to the nightly build.
The nightly build runs the tests listed in the
The tests are run in the order listed, which can result in
dependency problems if a package requires code at test-time
that is not yet compiled.
Usually, it is safest to add a new test directory to the end
of the list.
Check in your changes to the makefile and the nightly build
will update its copy and run the tests.
Unfortunately, that makefiles is rather complex. You are
better off avoiding running it by hand, and instead run
make bldmastrcoverage
in
$METRO/adm/gen-latest.
http://www.gigascale.org/metropolis/src/metronightly.txt
Adding a test directory to the nightly build
See the
Ptolemy II Testing Page
for information on how to set up the test directory.
JSALLDIRS
makefile variable in
$METRO/adm/gen-latest.
Running the nightly build
make tests
to try out tests.
However, if you really want to run the nightly build, try:
cd ~/ptII/metropolis/adm/gen-1.0/
make USER=$USER PTIIHOME=$PTII PTIIADM=$PTII/metropolis/adm TAR=/usr/local/bin/tar >& make.out &
Note that the TAR makefile variable must point to a tar that properly
handles the -X argument and excludes certain files.