From eaa2a7500b23d3630a6676d416bd9b002095dcd8 Mon Sep 17 00:00:00 2001 From: shivaCode-2 <141118860+shivaCode-2@users.noreply.github.com> Date: Mon, 30 Jun 2025 15:04:33 +0530 Subject: [PATCH 1/2] test-closeLabVIEW --- runlabview.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runlabview.sh b/runlabview.sh index 1144094..ce15116 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -72,3 +72,8 @@ else echo "########################################################################################" exit 0 fi + +echo "Closing LabVIEW Gracefully..." +OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \ +-OperationName CloseLabVIEW \ +-LabVIEWPath $LABVIEW_PATH) From 5e8441465e1784813ade5bcaf27e2f008c49da8a Mon Sep 17 00:00:00 2001 From: shivaCode-2 <141118860+shivaCode-2@users.noreply.github.com> Date: Mon, 30 Jun 2025 15:08:13 +0530 Subject: [PATCH 2/2] Update runlabview.sh --- runlabview.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runlabview.sh b/runlabview.sh index ce15116..eb9aaa5 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -66,14 +66,12 @@ echo "Number of failed tests: $FAILED_COUNT" if (( FAILED_COUNT > 0 )); then echo "✖ Some tests failed. Exiting with error." echo "########################################################################################" - exit 1 else echo "✔ All tests passed." echo "########################################################################################" - exit 0 fi - echo "Closing LabVIEW Gracefully..." OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \ -OperationName CloseLabVIEW \ -LabVIEWPath $LABVIEW_PATH) +