|
1 | 1 | #!/bin/bash |
2 | | - |
3 | 2 | # Verify that the configuration file exists. |
4 | 3 | CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg' |
5 | 4 | LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull' |
6 | 5 | REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt' |
| 6 | +MASSCOMPILE_DIR='/usr/local/natinst/LabVIEW-2025-64/examples/Arrays' |
7 | 7 | if [ ! -f "$CONFIG_FILE" ]; then |
8 | 8 | echo "Error: Configuration file not found at $CONFIG_FILE, exiting...!" |
9 | 9 | exit 1 |
10 | 10 | 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 "────────────────────────────────────────────────────────────" |
11 | 25 |
|
12 | | -echo "(Debug) Running LabVIEWCLI with the following parameters:" |
| 26 | +echo "(Debug) Running LabVIEWCLI VIAnalyzer with the following parameters:" |
13 | 27 | echo "(Debug) ConfigPath: $CONFIG_FILE" |
14 | 28 | echo "(Debug) ReportPath: $REPORT_PATH" |
15 | 29 | echo "(Debug) LabVIEWPath: $LABVIEW_PATH" |
16 | 30 |
|
17 | 31 | # Run the LabVIEWCLI command. |
18 | | -OUTPUT=$(LabVIEWCLI -LogToConsole true \ |
| 32 | +OUTPUT=$(LabVIEWCLI -LogToConsole TRUE \ |
19 | 33 | -OperationName RunVIAnalyzer \ |
20 | 34 | -ConfigPath $CONFIG_FILE \ |
21 | 35 | -ReportPath $REPORT_PATH \ |
|
0 commit comments