Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions scripts/test-examples.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run one example per language to verify the build+run pipeline.
# Languages: C, Rust, Go, .NET, PowerShell, Shell, Python
#
# Run representative finite examples to verify the build+run pipeline.
# Covers C, Rust, Go, .NET, PowerShell, Shell, Python, Node.js, hostfs, and Wasm host tools.

# Usage: .\scripts\test-examples.ps1

$ErrorActionPreference = "Continue"
Expand Down Expand Up @@ -72,9 +72,15 @@ Run-Example "helloworld-c"
Run-Example "rust"
Run-Example "go"
Run-Example "dotnet"
Run-Example "dotnet-nativeaot"
Run-Example "powershell"
Run-Example "shell"
Run-Example "python"
Run-Example "python-tools"
Run-Example "nodejs"
Run-Example "hostfs-posix-c"
Run-Example "hostfs-posix-py"
Run-Example "python-agent"

Write-Host ""
if ($Failures -gt 0) {
Expand Down
12 changes: 9 additions & 3 deletions scripts/test-examples.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Run one example per language to verify the build+run pipeline.
# Languages: C, Rust, Go, .NET, PowerShell, Shell, Python
#
# Run representative finite examples to verify the build+run pipeline.
# Covers C, Rust, Go, .NET, PowerShell, Shell, Python, Node.js, hostfs, and Wasm host tools.

# Usage: ./scripts/test-examples.sh

set -uo pipefail
Expand Down Expand Up @@ -89,9 +89,15 @@ run_example "helloworld-c"
run_example "rust"
run_example "go"
run_example "dotnet"
run_example "dotnet-nativeaot"
run_example "powershell"
run_example "shell"
run_example "python"
run_example "python-tools"
run_example "nodejs"
run_example "hostfs-posix-c"
run_example "hostfs-posix-py"
run_example "python-agent"

echo ""
if [ "$FAILURES" -gt 0 ]; then
Expand Down
Loading