12 lines
319 B
Bash
Executable File
12 lines
319 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Usage: ./test.sh [MNN] (no arg = all tests)
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
export PATH="$HOME/.dotnet:$PATH"
|
|
export DOTNET_NOLOGO=1 DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
if [ $# -ge 1 ]; then
|
|
exec dotnet run --project tests -- --filter-test-list "$1"
|
|
else
|
|
exec dotnet run --project tests
|
|
fi
|