Skip to content

Commit 4f6f5f4

Browse files
authored
Update runlabview.sh
1 parent 9f7efa9 commit 4f6f5f4

1 file changed

Lines changed: 14 additions & 15 deletions

File tree

runlabview.sh

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,29 @@
33
CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg'
44
LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull'
55
REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt'
6-
MASSCOMPILE_DIR='/usr/local/natinst/LabVIEW-2025-64/examples/Arrays'
6+
MASSCOMPILE_DIR='/workspace/Test-VIs'
77
if [ ! -f "$CONFIG_FILE" ]; then
88
echo "Error: Configuration file not found at $CONFIG_FILE, exiting...!"
99
exit 1
1010
fi
11-
echo "────────────────────────────────────────────────────────────"
12-
echo "(Debug) Running LabVIEWCLI MassCompile with following parameters:"
13-
echo "(Debug) DirectorytoCompile: $MASSCOMPILE_DIR"
14-
echo "(Debug) LabVIEWPath: $LABVIEW_PATH"
11+
echo "########################################################################################"
12+
echo "Running LabVIEWCLI MassCompile with following parameters:"
13+
echo "DirectorytoCompile: $MASSCOMPILE_DIR"
1514

1615
OUTPUT_MASSCOMPILE=$(LabVIEWCLI -LogToConsole TRUE \
1716
-OperationName MassCompile \
1817
-DirectoryToCompile $MASSCOMPILE_DIR \
1918
-LabVIEWPath $LABVIEW_PATH)
2019

21-
echo "(Debug) Done Running Masscompile Operation"
22-
echo "Printing Results..."
20+
echo "\nDone Running Masscompile Operation"
21+
echo "Printing Results...\n"
22+
echo "########################################################################################"
2323
echo $OUTPUT_MASSCOMPILE
24-
echo "────────────────────────────────────────────────────────────"
24+
echo "########################################################################################"
2525

26-
echo "(Debug) Running LabVIEWCLI VIAnalyzer with the following parameters:"
27-
echo "(Debug) ConfigPath: $CONFIG_FILE"
28-
echo "(Debug) ReportPath: $REPORT_PATH"
29-
echo "(Debug) LabVIEWPath: $LABVIEW_PATH"
26+
echo "Running LabVIEWCLI VIAnalyzer with the following parameters:"
27+
echo "ConfigPath: $CONFIG_FILE"
28+
echo "ReportPath: $REPORT_PATH"
3029

3130
# Run the LabVIEWCLI command.
3231
OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \
@@ -36,10 +35,10 @@ OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \
3635
-LabVIEWPath $LABVIEW_PATH)
3736

3837
echo "Done running of VI Analyzer Tests"
39-
echo "Print Report..."
40-
echo "────────────────────────────────────────────────────────────"
38+
echo "Printing Report..."
39+
echo "########################################################################################"
4140
cat "$REPORT_PATH"
42-
echo "────────────────────────────────────────────────────────────"
41+
echo "########################################################################################"
4342

4443
# 1) Extract the number from the report file, anchor to “Failed Tests”
4544
FAILED_COUNT=$(

0 commit comments

Comments
 (0)