From 97ac93b6380f3e9d8a6d523ae60b4b867c6f5e56 Mon Sep 17 00:00:00 2001 From: Samuel Taggart Date: Fri, 13 Oct 2023 11:52:56 -0600 Subject: [PATCH] . e updated bash script to use PWD and variables Co-Authored-By: Llewellyn Falco --- run_test.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/run_test.sh b/run_test.sh index 2fa9794..3849b29 100644 --- a/run_test.sh +++ b/run_test.sh @@ -2,6 +2,11 @@ set -euo pipefail +CURRENT_DIRECTORY=$(cygpath -w $(pwd)) +echo "CURRENT_DIRECTORY = $CURRENT_DIRECTORY" -g-cli vipc -- -v "20.0 (64-bit)" "Approvals Starter Project.vipc" -g-cli "C:\Program Files\National Instruments\LabVIEW 2020\vi.lib\addons\_JKI Toolkits\Caraya\CarayaCLIExecutionEngine.vi" -- -s "C:\Users\SAS\Documents\GitHub\ApprovalTests.LabVIEW.StarterProject" -x "C:\Users\SAS\Documents\GitHub\ApprovalTests.LabVIEW.StarterProject\UnitTestReport.xml" \ No newline at end of file +CARAYA="C:\Program Files\National Instruments\LabVIEW 2020\vi.lib\addons\_JKI Toolkits\Caraya\CarayaCLIExecutionEngine.vi" +echo "CARAYA = $CARAYA" + +g-cli vipc -- -v "20.0 (64-bit)" "$CURRENT_DIRECTORY\Approvals Starter Project.vipc" +g-cli "$CARAYA" -- -s "$CURRENT_DIRECTORY" -x "$CURRENT_DIRECTORY\UnitTestReport.xml" \ No newline at end of file