-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_tests.bat
48 lines (35 loc) · 1.7 KB
/
run_tests.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@REM echo "Hello"
set install_dir=%1
echo %install_dir%
%install_dir%\tests\cpp_tests.exe --gtest_filter=*mxgan*
if errorlevel 1 (exit /B 1 %errorlevel%)
%install_dir%\tests\cpp_tests.exe --gtest_filter=*mdsqr*
if errorlevel 1 (exit /B 1 %errorlevel%)
%install_dir%\tests\cpp_tests.exe --gtest_filter=*mxpzi*
if errorlevel 1 (exit /B 1 %errorlevel%)
%install_dir%\tests\cpp_tests.exe --gtest_filter=*MLADF*
if errorlevel 1 (exit /B 1 %errorlevel%)
%install_dir%\tests\cpp_tests.exe --gtest_filter=*EXPTL*
if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\single_matmul\model.py --dtype int8
@REM %install_dir%\tests\test_single.exe test_matmul_int8/model_matmul1_meta_int8.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\single_mha\model.py
@REM %install_dir%\tests\test_mha.exe test_mha\mha.onnx.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\single_add\model.py
@REM %install_dir%\tests\test_add.exe test_eltadd\add.onnx.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\single_lrn\model.py
@REM %install_dir%\tests\test_lrn.exe test_lrn\lrn.onnx.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\single_matmuladdgelu\model.py
@REM %install_dir%\tests\test_mataddgelu.exe test_matmuladdgelu\model_mataddgelu_meta.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\single_mha\model.py
@REM %install_dir%\tests\test_mha.exe test_mha\mha.onnx.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
@REM python tests\cpp\matmul6\model.py 12
@REM %install_dir%\tests\test_matmul6.exe test_matmul6\Matmuls_6x12_for_fusion.onnx.json
@REM if errorlevel 1 (exit /B 1 %errorlevel%)
echo "Tests Finished"