Skip to content

Commit

Permalink
Providing a recipe that runs and verifies a simple virtual Monte Carl… (
Browse files Browse the repository at this point in the history
#778)

Add simple virtual MC AliRoot test with G3/G4
  • Loading branch information
sawenzel authored and dberzano committed Jun 29, 2017
1 parent 098fe08 commit b24efb5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions aliroot-guntest.sh
@@ -0,0 +1,20 @@
package: AliRoot-guntest
version: v1
force_rebuild: 1
requires:
- AliRoot
- AliRoot-OCDB
---
#!/bin/bash -e

# A simple regression test launching a Geant3 + Geant4 gun simulation + reconstruction.
# Tests if the processing runs through and yields a reasonable ESD.
# Note that the test is limited to the default OCDB.
rsync -a "$ALIROOT_ROOT"/test/vmctest/gun test
cd test/gun

# launch the simulation
./runtest.sh

# test outcome and return the error code
WITHESDCHECK=${ALIPHYSICS_VERSION:+yes} ./finalcheck.sh

0 comments on commit b24efb5

Please sign in to comment.