From d996d14f1fdc58392048d24adfaf48760ed9da92 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 19 Oct 2013 21:06:55 -0700 Subject: [PATCH] Import wintest.bat --- test/default/Makefile.am | 1 + test/default/wintest.bat | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100755 test/default/wintest.bat 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