Skip to content

Commit

Permalink
Add simple validation script
Browse files Browse the repository at this point in the history
  • Loading branch information
tylern4 committed Aug 1, 2018
1 parent c37b40c commit 90d6fa0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions release-validation-1/validate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
mkdir -p validate
python sim.py -o $PWD/validate 2> /dev/null 1> /dev/null

evio2hipo out.hipo validate/*.evio

echo "out.hipo" validate/files.list

echo "set inputDir $PWD/validate" > cook.clara
echo "set outputDir $PWD" >> cook.clara
echo "set threads $(nproc)" >> cook.clara
echo "set javaMemory 4" >> cook.clara
echo "set fileList $PWD/validate/files.list" >> cook.clara
echo "run local" >> cook.clara
echo "exit" >> cook.clara
#clara-shell cook.clara


#mvn install && mvn exec:java -Dexec.mainClass="org.jlab.c12val.ParticleCounter"

0 comments on commit 90d6fa0

Please sign in to comment.