-
Notifications
You must be signed in to change notification settings - Fork 4.2k
/
test_deleteEarly.sh
executable file
·28 lines (24 loc) · 1.14 KB
/
test_deleteEarly.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Pass in name and status
function die { echo $1: status $2 ; exit $2; }
LOCAL_TEST_DIR="${CMSSW_BASE}/src/FWCore/Framework/test"
F1=${LOCAL_TEST_DIR}/test_doNotDeleteEarly_cfg.py
F2=${LOCAL_TEST_DIR}/test_simpleDeleteEarly_cfg.py
F3=${LOCAL_TEST_DIR}/test_referencingDeleteEarly_cfg.py
F4=${LOCAL_TEST_DIR}/test_multiPathEarlyDelete_cfg.py
F5=${LOCAL_TEST_DIR}/test_multiPathMultiModuleEarlyDelete_cfg.py
F6=${LOCAL_TEST_DIR}/test_subProcessDeleteEarly_cfg.py
F7=${LOCAL_TEST_DIR}/test_consumeAfterEarlyDeleteTask_cfg.py
F8=${LOCAL_TEST_DIR}/test_consumeAfterEarlyDeletePath_cfg.py
F9=${LOCAL_TEST_DIR}/test_nonConsumedModuleEarlyDelete_cfg.py
F10=${LOCAL_TEST_DIR}/test_referencingDeleteEarly_fail_cfg.py
(cmsRun $F1 ) || die "Failure using $F1" $?
(cmsRun $F2 ) || die "Failure using $F2" $?
(cmsRun $F3 ) || die "Failure using $F3" $?
(cmsRun $F4 ) || die "Failure using $F4" $?
(cmsRun $F5 ) || die "Failure using $F5" $?
(cmsRun $F6 ) || die "Failure using $F6" $?
(cmsRun $F7 ) || die "Failure using $F7" $?
(cmsRun $F8 ) || die "Failure using $F8" $?
(cmsRun $F9 ) || die "Failure using $F9" $?
!(cmsRun $F10 ) || die "Failure using $F10" $?