From d7cd6810d5e05bfc9846ee583b60df89dea56772 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Mon, 14 Mar 2022 14:24:41 +0100 Subject: [PATCH] Unify the location of InfraRed plugin test result files The different InfraRed plugins (Tempest, Tobiko, etc.) recollect the testing result files to different directories in the workspace. The default location for result files will be '{{ inventory_dir }}/test_results' if not specified by the --results-dir command line option. Change-Id: I57ac3ca03cc7bd381980b5484bf7c3d9ccca56bb --- infrared_plugin/main.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrared_plugin/main.yaml b/infrared_plugin/main.yaml index 8d10f0fab..d29fb4f4a 100644 --- a/infrared_plugin/main.yaml +++ b/infrared_plugin/main.yaml @@ -12,3 +12,6 @@ gather_facts: yes tasks: - include_role: name=tobiko-ir-run + vars: + test_collect_dir: > + {{ test_collect_dir | default(inventory_dir + '/test_results') }}