From f1189c6355e0d20398e149fcbb64a27a691f2509 Mon Sep 17 00:00:00 2001 From: damies13 Date: Sun, 25 Feb 2024 19:12:57 +1000 Subject: [PATCH] Try Create Directory ${results_dir} first Issue #178 --- "Tests/Regression/Agent/\302\272Common.robot" | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git "a/Tests/Regression/Agent/\302\272Common.robot" "b/Tests/Regression/Agent/\302\272Common.robot" index d71d286c6..175d12d00 100644 --- "a/Tests/Regression/Agent/\302\272Common.robot" +++ "b/Tests/Regression/Agent/\302\272Common.robot" @@ -16,7 +16,8 @@ ${process_manager} None # datapath: /home/runner/work/rfswarm/rfswarm/rfswarm_manager/results/PreRun # datapath: /opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/rfswarm_manager/results/PreRun -- let's control the output path rather than leaving it to chance # datapath: /opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/rfswarm_manager/PreRun -${results_dir} ${EXECDIR}${/}rfswarm_manager${/}results +# ${results_dir} ${EXECDIR}${/}rfswarm_manager${/}results +${results_dir} ${TEMPDIR}${/}rfswarm_manager${/}results *** Keywords *** @@ -42,6 +43,7 @@ Run Manager CLI IF ${options} == None ${options}= Create List END + Create Directory ${results_dir} Append To List ${options} -d ${results_dir} Log to console ${\n}\${options}: ${options} # ${process}= Start Process python3 ${pyfile_manager} @{options} alias=Manager stdout=${OUTPUT DIR}${/}stdout_manager.txt stderr=${OUTPUT DIR}${/}stderr_manager.txt