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.1 by davidlt, Fri Jan 27 09:09:22 2012 UTC vs.
Revision 1.2 by eulisse, Mon Jan 30 12:46:43 2012 UTC

# Line 1 | Line 1
1 < ### RPM cms cmssw-addontests 1.0.0
1 > ### RPM cms cmssw-validation 1.0.0
2  
3   Requires: cmssw SCRAMV1
4   Source: none
# Line 10 | Line 10 | Source: none
10   cd $CMSSW_VERSION
11   %scram build clean
12   eval `%scram runtime -sh`
13 < rsync -av $CMSSW_RELEASE_BASE/src/ src/
13 > #rsync -av $CMSSW_RELEASE_BASE/src/ src/
14  
15   %build
16   cd $CMSSW_VERSION
17   eval `%scram runtime -sh`
18 + rm -rf test-addontests
19   mkdir test-addontests
20   cd test-addontests
21  
# Line 26 | Line 27 | DIFF_TT=$((END_TT - BEGIN_TT))
27   PASSED_TESTS=`cat result.log | awk '/tests passed/ { print $1 }'`
28   FAILED_TESTS=`cat result.log | awk '/tests passed/ { print $4 }'`
29  
29 # If some of the tests failed, return error
30 if [ "$FAILED_TESTS" -ne 0 ]; then
31  exit 1
32 fi
33
30   # TODO: Add logs to the package or send them directly to the DB.
31   %install
32   # NOP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines