Skip to content

Commit 0350d64

Browse files
authored
test: expand local example smoke coverage (#101)
Signed-off-by: Akrm Al-Hakimi <alk9fh@bosch.com>
1 parent 897275c commit 0350d64

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

scripts/test-examples.ps1

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Run one example per language to verify the build+run pipeline.
2-
# Languages: C, Rust, Go, .NET, PowerShell, Shell, Python
3-
#
1+
# Run representative finite examples to verify the build+run pipeline.
2+
# Covers C, Rust, Go, .NET, PowerShell, Shell, Python, Node.js, hostfs, and Wasm host tools.
3+
44
# Usage: .\scripts\test-examples.ps1
55

66
$ErrorActionPreference = "Continue"
@@ -72,9 +72,15 @@ Run-Example "helloworld-c"
7272
Run-Example "rust"
7373
Run-Example "go"
7474
Run-Example "dotnet"
75+
Run-Example "dotnet-nativeaot"
7576
Run-Example "powershell"
7677
Run-Example "shell"
7778
Run-Example "python"
79+
Run-Example "python-tools"
80+
Run-Example "nodejs"
81+
Run-Example "hostfs-posix-c"
82+
Run-Example "hostfs-posix-py"
83+
Run-Example "python-agent"
7884

7985
Write-Host ""
8086
if ($Failures -gt 0) {

scripts/test-examples.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
2-
# Run one example per language to verify the build+run pipeline.
3-
# Languages: C, Rust, Go, .NET, PowerShell, Shell, Python
4-
#
2+
# Run representative finite examples to verify the build+run pipeline.
3+
# Covers C, Rust, Go, .NET, PowerShell, Shell, Python, Node.js, hostfs, and Wasm host tools.
4+
55
# Usage: ./scripts/test-examples.sh
66

77
set -uo pipefail
@@ -89,9 +89,15 @@ run_example "helloworld-c"
8989
run_example "rust"
9090
run_example "go"
9191
run_example "dotnet"
92+
run_example "dotnet-nativeaot"
9293
run_example "powershell"
9394
run_example "shell"
9495
run_example "python"
96+
run_example "python-tools"
97+
run_example "nodejs"
98+
run_example "hostfs-posix-c"
99+
run_example "hostfs-posix-py"
100+
run_example "python-agent"
95101

96102
echo ""
97103
if [ "$FAILURES" -gt 0 ]; then

0 commit comments

Comments
 (0)