summaryrefslogtreecommitdiff
path: root/test/ports
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-03-06 19:27:49 +0100
committerGitHub <[email protected]>2026-03-06 19:27:49 +0100
commit3726d7906b4808bfec7855fc088e073199df9120 (patch)
tree8789bfd03d1d49e1967e80d04aa4ff606fda43eb /test/ports
parent4b6e8100d932a3a67b34c6eb17f84f3bffb9e2ae (diff)
parentc3259a216026372e3833dd8996a68f77e8595fbd (diff)
Merge pull request #510 from eclipse-threadx/devv6.5.0.202601_rel
Merge changes ahead of the v6.5.0.202601 release
Diffstat (limited to 'test/ports')
-rw-r--r--test/ports/README.old.md16
-rw-r--r--test/ports/azrtos_cicd.ps116
-rw-r--r--test/ports/azrtos_test_tx_ghs_cortex_m3.valid.log2
3 files changed, 17 insertions, 17 deletions
diff --git a/test/ports/README.old.md b/test/ports/README.old.md
index 746d1d74..5af6bef8 100644
--- a/test/ports/README.old.md
+++ b/test/ports/README.old.md
@@ -12,19 +12,19 @@ These are batch scripts and auxiliary files (expected test results, etc).
* Test_FVP: test the example using the ARM FVP platform.
## azrtos_cicd.old.bat
-This is the main entry point for operations to be performed on several examples at the same time.
-This script can be called from any location, it will automatically perform the requested operations on the examples of the repository where it is located.
-This file outputs a summary to the screen and a detailed log file with all the output called azrtos_do.all.log
-Call this scripts without parameters to get usage information.
-The script parameters are case insensitive.
+This is the main entry point for operations to be performed on several examples at the same time.
+This script can be called from any location, it will automatically perform the requested operations on the examples of the repository where it is located.
+This file outputs a summary to the screen and a detailed log file with all the output called azrtos_do.all.log
+Call this scripts without parameters to get usage information.
+The script parameters are case insensitive.
## Examples:
-`azrtos_cicd.old.bat build tx ghs iar`
+`azrtos_cicd.old.bat build tx ghs iar`
This will build all GHS and IAR example projects.
-`azrtos_cicd.old.bat clean tx all`
+`azrtos_cicd.old.bat clean tx all`
This cleans all ThreadX examples
-`azrtos_cicd.old.bat build txm iar`
+`azrtos_cicd.old.bat build txm iar`
This builds all ThreadX Modules IAR examples.
diff --git a/test/ports/azrtos_cicd.ps1 b/test/ports/azrtos_cicd.ps1
index e932bed1..a43032cb 100644
--- a/test/ports/azrtos_cicd.ps1
+++ b/test/ports/azrtos_cicd.ps1
@@ -219,7 +219,7 @@ ForEach ($f in $CsvFile) {
If (-not ($i.Name -match $m)) {
Write-Verbose ("Name mismatch: " + $m)
$match = $false;
- }
+ }
}
}
@@ -229,11 +229,11 @@ ForEach ($f in $CsvFile) {
Write-Verbose ("Matching " + $m)
If (-not ($i.Keywords -match $m)) {
Write-Verbose ("Keywords mismatch: " + $m)
- $match = $false
- }
+ $match = $false
+ }
}
}
-
+
If ($MatchPath.Count -ne 0) {
Write-Verbose ("Matching path...")
ForEach ($m in $MatchPath) {
@@ -241,7 +241,7 @@ ForEach ($f in $CsvFile) {
If (-not ($i.Path -match $m)) {
Write-Verbose ("Path mismatch: " + $m)
$match = $false
- }
+ }
}
}
@@ -281,7 +281,7 @@ ForEach ($f in $CsvFile) {
}
If ($Clean -and ($i.CleanScript -ne "")) {
- Write-Progress -Activity $f -Status ($Stats.CurrentCsv.ToString() + "/" + $t.Count.ToString()) -CurrentOperation $i.Name -PercentComplete (1.0 * $Stats.CurrentCsv / $t.Count * 100)
+ Write-Progress -Activity $f -Status ($Stats.CurrentCsv.ToString() + "/" + $t.Count.ToString()) -CurrentOperation $i.Name -PercentComplete (1.0 * $Stats.CurrentCsv / $t.Count * 100)
$result = Invoke-CustomScript "Clean" $i.Name (Join-Path $ScriptDir $i.CleanEnvScript) (Join-Path $ScriptDir $i.CleanScript)
if ($result -ne 0) {
$Stats.CleanScriptERROR++
@@ -291,7 +291,7 @@ ForEach ($f in $CsvFile) {
}
If ($Build -and ($i.BuildScript -ne "")) {
- Write-Progress -Activity $f -Status ($Stats.CurrentCsv.ToString() + "/" + $t.Count.ToString()) -CurrentOperation $i.Name -PercentComplete (1.0 * $Stats.CurrentCsv / $t.Count * 100)
+ Write-Progress -Activity $f -Status ($Stats.CurrentCsv.ToString() + "/" + $t.Count.ToString()) -CurrentOperation $i.Name -PercentComplete (1.0 * $Stats.CurrentCsv / $t.Count * 100)
$result = Invoke-CustomScript "Build" $i.Name (Join-Path $ScriptDir $i.BuildEnvScript) (Join-Path $ScriptDir $i.BuildScript)
if ($result -ne 0) {
$Stats.BuildScriptERROR++
@@ -301,7 +301,7 @@ ForEach ($f in $CsvFile) {
}
If ($Test -and ($i.TestScript -ne "")) {
- Write-Progress -Activity $f -Status ($Stats.CurrentCsv.ToString() + "/" + $t.Count.ToString()) -CurrentOperation $i.Name -PercentComplete (1.0 * $Stats.CurrentCsv / $t.Count * 100)
+ Write-Progress -Activity $f -Status ($Stats.CurrentCsv.ToString() + "/" + $t.Count.ToString()) -CurrentOperation $i.Name -PercentComplete (1.0 * $Stats.CurrentCsv / $t.Count * 100)
$result = Invoke-CustomScript "Test" $i.Name (Join-Path $ScriptDir $i.TestEnvScript) (Join-Path $ScriptDir $i.TestScript)
if ($result -ne 0) {
$Stats.TestScriptERROR++
diff --git a/test/ports/azrtos_test_tx_ghs_cortex_m3.valid.log b/test/ports/azrtos_test_tx_ghs_cortex_m3.valid.log
index f0f7a19d..fc46fd6b 100644
--- a/test/ports/azrtos_test_tx_ghs_cortex_m3.valid.log
+++ b/test/ports/azrtos_test_tx_ghs_cortex_m3.valid.log
@@ -27,4 +27,4 @@ thread_4_counter = 0x0000000d
thread_5_counter = 0x00000005
thread_6_counter = 0x0000000d
thread_7_counter = 0x0000000d
-MULTI>
+MULTI>