diff --git a/test/default/Makefile.am b/test/default/Makefile.am index cd836958..ebc23532 100644 --- a/test/default/Makefile.am +++ b/test/default/Makefile.am @@ -1,6 +1,7 @@ EXTRA_DIST = \ cmptest.h \ + wintest.bat \ auth.exp \ auth2.exp \ auth3.exp \ diff --git a/test/default/wintest.bat b/test/default/wintest.bat new file mode 100755 index 00000000..057212a7 --- /dev/null +++ b/test/default/wintest.bat @@ -0,0 +1,52 @@ +@ECHO OFF + +if "%1" == "" ( + echo "Usage: do2 NUL 2>&1 + if not exist %%f.exe ( + echo %%f compile failed + goto :END + ) + %%f.exe + if errorlevel 1 ( + echo %%f failed + ) else ( + echo %%f ok + ) +) +REM Remove temporary files +del *.exe *.obj *.res +:END