1 |
|
### RPM cms cmssw-validation 1.0.0 |
2 |
– |
|
2 |
|
Requires: cmssw SCRAMV1 |
3 |
|
Source: none |
4 |
|
|
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 |