Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Only one set of system tests for each package can run at the same time. You can run a set of system tests for EngModel and GlastRelease simultaneously, but you cannot run two sets for different GlastRelease versions simultaneously because the tests will try to store the output files in the same working directory. (This can be fixed, but needs more work to separate out some directory structure assumptions properly.)

Anchor
scons
scons

Running the System Tests for SCons builds

The only things that change for SCons builds (on the surface, anyway) are the configuration file and the script used to call the tests. Essentially, the environment is set in the configuration file and propagated through the test scripts as needed.

> $SYSTESTS/src/exec/runSysTests.sh
becomes
> $SYSTESTS/src/exec/runSysTests_SCons.sh

The SCons version of the config file looks like this:

Panel
titleConfig File Example for SCons

packag GlastRelease
pversion v17r35p20
sversion v15r47p12gr11
ksthresh 0.5
bldtype redhat4-i686-32bit-gcc34
instdir /nfs/farm/g/glast/u52/ReleaseManagerBuild/redhat4-i686-32bit-gcc34/Optimized/GlastRelease/17-35-24-gr17
systests /nfs/farm/g/glast/u17/systests/src/GRtests
output /nfs/farm/g/glast/u17/systests/
glastext /afs/slac/g/glast/ground/GLAST_EXT/rhel4_gcc34opt

While cmt and scons builds exist in parallel, versions names for tests of scons builds will end in -scons.

Anchor
tips
tips

Tips and tricks for the savvy tester

...