You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The aim of this page is to record the sequence of commands needed to run the system test  (More details on the systests code and usage can be found in:  System test overview and instructions)

 

A complete version of the code can be downloaded from cvs:

cvs co systests  

 

 run the test: 

the code is located in: /nfs/farm/g/glast/u17/systests

 

bash
cd /nfs/farm/g/glast/u17/systests
export  SYSTESTS=`pwd`
cd $SYSTESTS/src/exec
tcsh setModePass8.csh (to be done just once)

./runSysTests_SCons.sh  Config_testSCons.txt

refer to Instructions for Running with SCons   for the explanation about  the config_file content

Config file example:

#version to be tested
pversion 20-10-04
# reference
sversion 20-10-04

ksthresh 0.5
#instdir   /nfs/farm/g/glast/u52/ReleaseManagerBuild/redhat6-x86_64-64bit-gcc44/Optimized/GlastRelease/20-11-00
instdir   /nfs/farm/g/glast/u52/ReleaseManagerBuild/redhat6-x86_64-64bit-gcc44/Optimized/GlastRelease/20-10-04
bldtype  redhat6-x86_64-64bit-gcc44
systests /nfs/farm/g/glast/u17/systests/src/GRtests_SCons/
output   /nfs/farm/g/glast/u17/systests
glastext /afs/slac/g/glast/ground/GLAST_EXT/redhat6-x86_64-64bit-gcc44
#subset AllGamma, VerticalGamma100GeV, VerticalGamma100MeV, VerticalMuon1GeV, VerticalProton1GeV, VerticalGamma300GeV,  VerticalGamma1GeV, Vertica
lGamma10GeV, flightData
subset VerticalGamma100MeV
#set debug flag to 1 to run only the root scripts (generating histograms)

 

 

 

Loading the histograms and comparison results to the database:

> cd $SYSTESTS/src/exec
> source setup.sh
> python insert_metadata_version_sequence.py -b <version_name>

(where <version_name> is the version that is tested (the "pversion" entry in the configuration file))

results can be seen on the web interface:

http://glast-ground.slac.stanford.edu/SystemTests/

 

  • No labels