You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FWCore/Services/test/test_resourceInformationService.sh
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ function die { echo Failure $1: status $2 ; exit $2 ; }
4
4
5
5
cmsRun ${SCRAM_TEST_PATH}/test_resourceInformationService_cfg.py &> test_resourceInformationService.log || die "cmsRun test_resourceInformationService_cfg.py"$?
6
6
7
-
grep -A 1 "acceleratorTypes:" test_resourceInformationService.log | grep "GPU"|| die "Check for existence of GPU acceleratorType"$?
7
+
grep -A 4 "selectedAccelerators:" test_resourceInformationService.log | grep "cpu"|| die "Check for existence of cpu in selectedAccelerators"$?
8
+
grep -A 4 "selectedAccelerators:" test_resourceInformationService.log | grep "gpu-foo"|| die "Check for existence of gpu-foo in selectedAccelerators"$?
9
+
grep -A 4 "selectedAccelerators:" test_resourceInformationService.log | grep "test1"|| die "Check for existence of test1 in selectedAccelerators"$?
10
+
grep -A 4 "selectedAccelerators:" test_resourceInformationService.log | grep "test2"|| die "Check for existence of test2 in selectedAccelerators"$?
8
11
grep -A 1 "cpu models:" test_resourceInformationService.log | grep "None"&& die "Check there is at least one model (not None)" 1
0 commit comments