2 rem To use this either give it no arguments to run all the tests or
3 rem pass it the test name (without the extention) to run only one
6 if not "%1" == "" goto runtest
10 call run_tests Address_Test
11 call run_tests Counter64_Test
12 call run_tests Counter_Test
13 call run_tests Gauge_Test
14 call run_tests Integer_Test
15 call run_tests Octet_Test
16 call run_tests Oid_Test
17 call run_tests Target_Test
18 call run_tests Varbind_Test
26 if errorlevel 0 goto fine
30 type %temp%\log\%1.log | find /I "assertion failed"
31 type %temp%\log\%1.log | find /I "not supported"
32 type %temp%\log\%1.log | find /I "no such file or directory"
33 type %temp%\log\%1.log | find /I "invalid argument"
34 type %temp%\log\%1.log | find /I "timeout"
35 type %temp%\log\%1.log | find /I "bad file number"
41 rem We should check the log files here to make sure the test ended correctly
42 rem type %temp%\log\%1.log | find "Ending"