Files
UA-.NETStandard/Tests/benchmarks.cmd
T
Martin Regen b81e9d6e47 Fix CI Build flaky tests by reducing log output, default tests to net8.0, (#2704)
-reduce Xml/Json output of encoder tests to avoid out of memory exception (trx reduced from 600MB to 40MB)
-simplify a few NodeCache tests and disable a test case which produces a lot of exception logs
-default targets to net8.0 instead of net6.0
-fix benchmark cmd (required PlatformTarget)
-remove nunitxml.testlogger dependency from projects
2024-08-12 10:32:46 +02:00

26 lines
982 B
Batchfile

@REM Copyright (c) OPC Foundation. All rights reserved.
@REM Licensed under the MIT license. See LICENSE file in the project root for full license information.
@setlocal EnableExtensions EnableDelayedExpansion
@echo off
set current-path=%~dp0
rem // remove trailing slash
set current-path=%current-path:~0,-1%
set build_root=%current-path%\..
set framework=net8.0
set runtimes=net48 net8.0
set filter=*
cd %build_root%
cd Tests\Opc.Ua.Security.Certificates.Tests\
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Core.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Server.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..\Opc.Ua.Client.Tests
dotnet run -v n --configuration Release --framework %framework% -- --filter %filter% --runtimes %runtimes%
cd ..