Skip to content

Commit 0d9353b

Browse files
authored
Add masscompile as well in testing
1 parent 59a6f6a commit 0d9353b

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

runlabview.sh

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,33 @@
11
#!/bin/bash
2-
32
# Verify that the configuration file exists.
43
CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg'
54
LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull'
65
REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt'
6+
MASSCOMPILE_DIR='/usr/local/natinst/LabVIEW-2025-64/examples/Arrays'
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"
15+
16+
OUTPUT_MASSCOMPILE=$(LabVIEWCLI -LogToConsole TRUE \
17+
-OperationName MassCompile \
18+
-DirectoryToCompile $MASSCOMPILE_DIR \
19+
-LabVIEWPath $LABVIEW_PATH)
20+
21+
echo "(Debug) Done Running Masscompile Operation"
22+
echo "────────────────────────────────────────────────────────────"
1123

12-
echo "(Debug) Running LabVIEWCLI with the following parameters:"
24+
echo "(Debug) Running LabVIEWCLI VIAnalyzer with the following parameters:"
1325
echo "(Debug) ConfigPath: $CONFIG_FILE"
1426
echo "(Debug) ReportPath: $REPORT_PATH"
1527
echo "(Debug) LabVIEWPath: $LABVIEW_PATH"
1628

1729
# Run the LabVIEWCLI command.
18-
OUTPUT=$(LabVIEWCLI -LogToConsole true \
30+
OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \
1931
-OperationName RunVIAnalyzer \
2032
-ConfigPath $CONFIG_FILE \
2133
-ReportPath $REPORT_PATH \

0 commit comments

Comments
 (0)