ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cmssw-validation.spec
(Generate patch)

Comparing COMP/CMSDIST/cmssw-validation.spec (file contents):
Revision 1.2 by eulisse, Mon Jan 30 12:46:43 2012 UTC vs.
Revision 1.4 by eulisse, Mon Jan 30 17:37:26 2012 UTC

# Line 1 | Line 1
1   ### RPM cms cmssw-validation 1.0.0
2
2   Requires: cmssw SCRAMV1
3   Source: none
4  
# Line 15 | Line 14 | eval `%scram runtime -sh`
14   %build
15   cd $CMSSW_VERSION
16   eval `%scram runtime -sh`
17 < rm -rf test-addontests
18 < mkdir test-addontests
19 < cd test-addontests
20 <
21 < BEGIN_TT=`date +%s`
22 < addOnTests.py -j %compiling_processes &> result.log
23 < END_TT=`date +%s`
24 < DIFF_TT=$((END_TT - BEGIN_TT))
25 <
26 < PASSED_TESTS=`cat result.log | awk '/tests passed/ { print $1 }'`
28 < FAILED_TESTS=`cat result.log | awk '/tests passed/ { print $4 }'`
17 > rm -rf %i/test-addontests %i/test-runTheMatrix
18 > mkdir -p %i/test-addontests %i/test-runTheMatrix
19 > pushd %i/test-addontests
20 >  time addOnTests.py -j %compiling_processes &> result.log
21 > popd
22 >
23 > # Do runTheMatrix.py (let's start with -s)
24 > pushd %i/test-runTheMatrix
25 >  time runTheMatrix.py -s
26 > popd
27  
28   # TODO: Add logs to the package or send them directly to the DB.
29   %install

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines