#!/usr/bin/env bash set -euo pipefail # Minimal helper to run the LNM-21-002/003-related slices with TRX output. # Use a clean environment to reduce "invalid test source" issues seen locally. export DOTNET_CLI_TELEMETRY_OPTOUT=1 export DOTNET_ROLL_FORWARD=Major root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" pushd "$root_dir" >/dev/null dotnet test \ src/Concelier/__Tests/StellaOps.Concelier.Core.Tests/StellaOps.Concelier.Core.Tests.csproj \ --filter "AdvisoryObservationAggregationTests" \ --logger "trx;LogFileName=core-linksets.trx" dotnet test \ src/Concelier/__Tests/StellaOps.Concelier.Storage.Mongo.Tests/StellaOps.Concelier.Storage.Mongo.Tests.csproj \ --filter "ConcelierMongoLinksetStoreTests" \ --logger "trx;LogFileName=storage-linksets.trx" popd >/dev/null