Skip to content

Commit a513589

Browse files
authored
Merge pull request #29 from shivaCode-2/shivaCode-2-patch-1
Add masscompile as well in testing
2 parents 59a6f6a + bcc32e1 commit a513589

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/vi-analyzer-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Pull Docker Image from Docker Hub
2626
run: docker pull docker.io/shivacode02/labview_linux:2025q3_beta
2727

28-
- name: Run VI Analyzer Tests
28+
- name: Run LabVIEWCLI Operations
2929
run: |
3030
docker run --rm \
3131
-v "${{ github.workspace }}:/workspace" \

runlabview.sh

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
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 "Printing Results..."
23+
echo $OUTPUT_MASSCOMPILE
24+
echo "────────────────────────────────────────────────────────────"
1125

12-
echo "(Debug) Running LabVIEWCLI with the following parameters:"
26+
echo "(Debug) Running LabVIEWCLI VIAnalyzer with the following parameters:"
1327
echo "(Debug) ConfigPath: $CONFIG_FILE"
1428
echo "(Debug) ReportPath: $REPORT_PATH"
1529
echo "(Debug) LabVIEWPath: $LABVIEW_PATH"
1630

1731
# Run the LabVIEWCLI command.
18-
OUTPUT=$(LabVIEWCLI -LogToConsole true \
32+
OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \
1933
-OperationName RunVIAnalyzer \
2034
-ConfigPath $CONFIG_FILE \
2135
-ReportPath $REPORT_PATH \

0 commit comments

Comments
 (0)