Improve and move metadata suite to RecExRecoTest
- Jul 06, 2020
-
-
Frank Berghaus authored
Since there are many legitimate changes in the transient and persistent types between release 21 and 22 do not compare between releases. Instead ensure that metadata content between the serial and threaded mode is consistent. Since the input for the AOD production needs keys that are not produced in release 21 also produce the inputs as part of the test.
-
- Jul 03, 2020
-
-
Frank Berghaus authored
The default files are now three files from CVMFS each from a different run.
-
Frank Berghaus authored
-
Frank Berghaus authored
When comparing the differences in the full metadata content some lists and dictionaries becomes cumbersomely long. Summarise the content by replacing content of long lists with [first, second, ..., last].
-
Frank Berghaus authored
If there were changes in the keys present in the in-file metadata the script would just return that the entire dict was different. This is not a useful message for analyzing the differences. Now it at least loops over all keys in the dictionary retruned by the MetaReader.
-
Frank Berghaus authored
Do not display dictionary content that is equal in the two files being compared. Not removing this in the "simple" format since the wording implies one is looking at the full content of the dictionary.
-
Frank Berghaus authored
Use implicit booleanness instead of checking for identity with None. Remove some trailing whitespace.
-
Frank Berghaus authored
The AMI tag option may optionally be specified. At the moment only tags valid for the reco transform can be used.
-
Frank Berghaus authored
For the moment the metadata test should be run manually by experts on demand. To help with this add the test suite as an executable to the path.
-
Frank Berghaus authored
Specifying the number of arguments to take for reference files meant that the supplied file name was put into a list. Note useful since we want a single reference file for the output of each step.
-
Frank Berghaus authored
-
Frank Berghaus authored
Move meta-data test suite into RecExRecoTest as discussed at the core meeting. Use a configuration class to manage how to run the transforms and test metadata. Allow user to specify inputs and references.
-