Skip to content

Commit

Permalink
Add quotation to all windows paths to handle spaces
Browse files Browse the repository at this point in the history
Signed-off-by: hoangtungdinh <11166240+hoangtungdinh@users.noreply.github.com>
  • Loading branch information
hoangtungdinh committed Oct 2, 2024
1 parent 9bfb8ed commit 457752f
Show file tree
Hide file tree
Showing 15 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows-manifest/framework.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"manifest_file_path": [
"$ASAM_QC_FRAMEWORK_MANIFEST_DIR\\osc.json",
"${ASAM_QC_FRAMEWORK_MANIFEST_DIR}\\odr.json",
"%ASAM_QC_FRAMEWORK_MANIFEST_DIR%\\otx.json",
"\"%ASAM_QC_FRAMEWORK_MANIFEST_DIR%\"\\otx.json",
"D:\\a\\qc-framework\\qc-framework\\.github\\workflows\\windows-manifest\\result_pooling.json",
"D:\\a\\qc-framework\\qc-framework\\.github\\workflows\\windows-manifest\\text_report.json"
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/windows-manifest/odr.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "xodrBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && qc_opendrive -c %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && qc_opendrive -c \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/windows-manifest/osc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "xoscBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && qc_openscenario -c %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && qc_openscenario -c \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/windows-manifest/otx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "otxBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && qc_otx -c %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && qc_otx -c \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/windows-manifest/result_pooling.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "ResultPooling",
"exec_type": "executable",
"module_type": "result_pooling",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && %ASAM_QC_FRAMEWORK_INSTALLATION_DIR%\\ResultPooling.exe %ASAM_QC_FRAMEWORK_WORKING_DIR% %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && %ASAM_QC_FRAMEWORK_INSTALLATION_DIR%\\ResultPooling.exe \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/windows-manifest/text_report.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "TextReport",
"exec_type": "executable",
"module_type": "report_module",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && %ASAM_QC_FRAMEWORK_INSTALLATION_DIR%\\TextReport.exe %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && %ASAM_QC_FRAMEWORK_INSTALLATION_DIR%\\TextReport.exe \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
}
2 changes: 1 addition & 1 deletion manifest_examples/windows/qc_opendrive.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "xodrBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && qc_opendrive -c %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && qc_opendrive -c \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
2 changes: 1 addition & 1 deletion manifest_examples/windows/qc_openscenarioxml.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "xoscBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && qc_openscenario -c %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && qc_openscenario -c \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
2 changes: 1 addition & 1 deletion manifest_examples/windows/qc_otx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "otxBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && qc_otx -c %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && qc_otx -c \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
2 changes: 1 addition & 1 deletion manifest_examples/windows/report_gui.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "ReportGUI",
"exec_type": "executable",
"module_type": "report_module",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && C:\\Users\\asam\\QC-Framework-Out\\bin\\ReportGUI.exe %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && C:\\Users\\asam\\QC-Framework-Out\\bin\\ReportGUI.exe \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
2 changes: 1 addition & 1 deletion manifest_examples/windows/result_pooling.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "ResultPooling",
"exec_type": "executable",
"module_type": "result_pooling",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && C:\\Users\\asam\\QC-Framework-Out\\bin\\ResultPooling.exe %ASAM_QC_FRAMEWORK_WORKING_DIR% %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && C:\\Users\\asam\\QC-Framework-Out\\bin\\ResultPooling.exe \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
2 changes: 1 addition & 1 deletion manifest_examples/windows/text_report.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "TextReport",
"exec_type": "executable",
"module_type": "report_module",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && C:\\Users\\asam\\QC-Framework-Out\\bin\\TextReport.exe %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && C:\\Users\\asam\\QC-Framework-Out\\bin\\TextReport.exe \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "DemoCheckerBundle",
"exec_type": "executable",
"module_type": "checker_bundle",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && ..\\..\\bin\\DemoCheckerBundle.exe %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && ..\\..\\bin\\DemoCheckerBundle.exe \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
}
18 changes: 9 additions & 9 deletions runtime/tests/test_data/windows/result_pooling_manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"module": [
{
"name": "ResultPooling",
"exec_type": "executable",
"module_type": "result_pooling",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && ..\\..\\bin\\ResultPooling.exe %ASAM_QC_FRAMEWORK_WORKING_DIR% %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
}
]
}
"module": [
{
"name": "ResultPooling",
"exec_type": "executable",
"module_type": "result_pooling",
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && ..\\..\\bin\\ResultPooling.exe \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}
18 changes: 9 additions & 9 deletions runtime/tests/test_data/windows/text_report_manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"module": [
{
"name": "TextReport",
"exec_type": "executable",
"module_type": "report_module",
"exec_command": "cd %ASAM_QC_FRAMEWORK_WORKING_DIR% && ..\\..\\bin\\TextReport.exe %ASAM_QC_FRAMEWORK_CONFIG_FILE%"
}
]
}
"module": [
{
"name": "TextReport",
"exec_type": "executable",
"module_type": "report_module",
"exec_command": "cd \"%ASAM_QC_FRAMEWORK_WORKING_DIR%\" && ..\\..\\bin\\TextReport.exe \"%ASAM_QC_FRAMEWORK_CONFIG_FILE%\""
}
]
}

0 comments on commit 457752f

Please sign in to comment.