14 lines
528 B
Bash
14 lines
528 B
Bash
#!/usr/bin/env bash
|
|
# Convenience wrapper to run the isolated Node analyzer suite with cleanup enabled.
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
|
|
# auto-clean workspace outputs before running tests (uses cleanup helper inside test script)
|
|
export CLEAN_BEFORE_NODE_TESTS="${CLEAN_BEFORE_NODE_TESTS:-1}"
|
|
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
export NUGET_PACKAGES="${ROOT}/offline/packages"
|
|
|
|
exec "${ROOT}/src/Scanner/__Tests/node-tests-isolated.sh"
|