summaryrefslogtreecommitdiffstats
path: root/third_party/highway/run_tests.bat
blob: 26600a2c4f7029e6912e48131269e7d561799cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
REM Switch directory of this batch file
cd %~dp0

if not exist build_win mkdir build_win

cd build_win
cmake .. -DHWY_WARNINGS_ARE_ERRORS:BOOL=ON -G Ninja || goto error
ninja || goto error
ctest -j || goto error

cd ..
echo Success
goto end

:error
echo Failure
exit /b 1

:end