From 962a130ad0516e06527f3c4f524828e01a4019fd Mon Sep 17 00:00:00 2001 From: Patrick Koppenburg <patrick.koppenburg@cern.ch> Date: Wed, 21 Jun 2023 09:33:27 +0200 Subject: [PATCH] Use temporary directory in tests with same output file --- .../tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt | 1 + .../qmtest/tupling.qms/test_davinci_tupling_from_raw_data.qmt | 1 + 2 files changed, 2 insertions(+) diff --git a/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt b/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt index fc62fca25..9449a4a26 100644 --- a/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt +++ b/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_hlt2_with_matching.qmt @@ -21,6 +21,7 @@ <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Run255620.yaml</text></argument> <argument name="reference"><text>../refs/test_davinci_tupling_from_hlt2_with_matching.ref</text></argument> <argument name="error_reference"><text>../refs/empty.ref</text></argument> + <argument name="use_temp_dir"><enumeral>true</enumeral></argument> <argument name="validator"><text> # Check there are no NaN values in the ntuple except where expected. from DaVinciTests.QMTest.check_helpers import has_nan diff --git a/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_raw_data.qmt b/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_raw_data.qmt index 6d5fb944e..03717687c 100644 --- a/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_raw_data.qmt +++ b/DaVinciExamples/tests/qmtest/tupling.qms/test_davinci_tupling_from_raw_data.qmt @@ -20,6 +20,7 @@ <argument name="options_yaml_fn"><text>$DAVINCIEXAMPLESROOT/example_data/Run255620.yaml</text></argument> <argument name="reference"><text>../refs/test_davinci_tupling_from_raw_data.ref</text></argument> <argument name="error_reference"><text>../refs/empty.ref</text></argument> + <argument name="use_temp_dir"><enumeral>true</enumeral></argument> <argument name="validator"><text> from DaVinciTests.QMTest.DaVinciExclusions import preprocessor, counter_preprocessor validateWithReference(preproc = preprocessor, counter_preproc = counter_preprocessor) -- GitLab