diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-02-13 09:56:58 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-02-13 09:56:58 +0100 |
commit | 68354c7d41085d1f976a5b1d7ee542479a85f621 (patch) | |
tree | aec761c793093e4a2e4ce18d78b3b531bcb12a42 /tests/exec_test.cmd | |
download | sqlitexx-68354c7d41085d1f976a5b1d7ee542479a85f621.tar.gz sqlitexx-68354c7d41085d1f976a5b1d7ee542479a85f621.tar.bz2 |
imported trunk from sourceforge SVN
Diffstat (limited to 'tests/exec_test.cmd')
-rwxr-xr-x | tests/exec_test.cmd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/exec_test.cmd b/tests/exec_test.cmd new file mode 100755 index 0000000..25d6ea4 --- /dev/null +++ b/tests/exec_test.cmd @@ -0,0 +1,20 @@ +@echo off + +set BINARY=%1 +set TITLE=%2 +set PLATFORM=%3 + +rem Set path so we find the sqlite3xx.dll (don't copy it around! linker paths are absolute!) +set PATH=..\src;%PATH% + +%BINARY% >%BINARY.RES +if ERRORLEVEL == 1 goto :ERROR +echo %BINARY%: %TITLE% .. OK +goto END + +:ERROR +echo %BINARY%: %TITLE% .. ERROR +:END + +rem TODO: find a way to do this with things provided by the system +rem diff $BINARY.MUST $BINARY.RES > $BINARY.DIFF && printf "OK\n" || printf "ERROR\n" |