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: DataFormats/L1TGlobal/test/TestGlobalObjectMapRecordFormat.sh
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,9 @@ function die { echo $1: status $2 ; exit $2; }
4
4
5
5
LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
6
6
7
-
cmsRun ${LOCAL_TEST_DIR}/create_GlobalObjectMapRecord_test_file_cfg.py || die 'Failure using create_GlobalObjectMapRecord_test_file_cfg.py'$?
8
-
9
-
file=testGlobalObjectMapRecord.root
10
-
11
-
cmsRun ${LOCAL_TEST_DIR}/test_readGlobalObjectMapRecord_cfg.py "$file"|| die "Failure using test_readGlobalObjectMapRecord_cfg.py $file"$?
7
+
tmpfile=testGlobalObjectMapRecord.root
8
+
cmsRun ${LOCAL_TEST_DIR}/create_GlobalObjectMapRecord_test_file_cfg.py --outputFileName "${tmpfile}"|| die 'Failure using create_GlobalObjectMapRecord_test_file_cfg.py'$?
9
+
cmsRun ${LOCAL_TEST_DIR}/test_readGlobalObjectMapRecord_cfg.py --inputFileName "${tmpfile}" --globalObjectMapClassVersion 11 || die "Failure using test_readGlobalObjectMapRecord_cfg.py ${tmpfile}"$?
12
10
13
11
# The old files read below were generated as follows.
inputfile=$(edmFileInPath DataFormats/L1TGlobal/data/$file)|| die "Failure edmFileInPath DataFormats/L1TGlobal/data/$file"$?
31
-
cmsRun ${LOCAL_TEST_DIR}/test_readGlobalObjectMapRecord_cfg.py "$inputfile"|| die "Failed to read old file $file"$?
29
+
cmsRun ${LOCAL_TEST_DIR}/test_readGlobalObjectMapRecord_cfg.py --inputFileName "$inputfile" --globalObjectMapClassVersion 10|| die "Failed to read old file $file"$?
0 commit comments