mirror of
https://github.com/microsoft/WSL.git
synced 2026-04-12 04:55:36 -05:00
* test: Add arm64 test distro support * update unit test baseline * more test baseline updates --------- Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com>
16 lines
635 B
Batchfile
16 lines
635 B
Batchfile
@echo off
|
|
|
|
rem This script is generated by CMake. See: tools/test/test.bat.in
|
|
|
|
set "Bin=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}\${CMAKE_BUILD_TYPE}"
|
|
set "Tools=${CMAKE_CURRENT_LIST_DIR}\tools"
|
|
path %PATH%;${TAEF_SOURCE_DIR}\build\Binaries\${TARGET_PLATFORM}
|
|
|
|
powershell.exe -ExecutionPolicy Bypass "%tools%\test\run-tests.ps1" -SetupScript "%tools%\test\test-setup.ps1" -DistroPath "${TEST_DISTRO_SOURCE_DIR}${TARGET_PLATFORM}\test_distro.tar.xz" -TestDllPath "%bin%\wsltests.dll" -UnitTestsPath "${CMAKE_CURRENT_LIST_DIR}\test\linux\unit_tests" -Package "%bin%\installer.msix" %* || goto fail
|
|
|
|
exit /b 0
|
|
|
|
:fail
|
|
|
|
echo "Test failed"
|
|
exit /b 1 |