Move test data to separate repository

This commit is contained in:
Evan Miller
2020-09-02 10:44:12 -04:00
parent a98066ee0d
commit 4b177914ee
6 changed files with 5 additions and 2 deletions

View File

@@ -159,6 +159,7 @@ jobs:
- YACC="/usr/local/opt/bison/bin/bison" - YACC="/usr/local/opt/bison/bin/bison"
before_script: before_script:
- git clone git@github.com:mdbtools/mdbtestdata.git test
- autoreconf -i -f -Wno-portability - autoreconf -i -f -Wno-portability
script: script:

View File

@@ -22,6 +22,7 @@ build_script:
if ($env:TOOLCHAIN -eq "msys2") if ($env:TOOLCHAIN -eq "msys2")
{ {
$env:MSYSTEM="MINGW64" $env:MSYSTEM="MINGW64"
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && git clone git@github.com:mdbtools/mdbtestdata.git test"
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && autoreconf -i -f -Wno-portability" C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && autoreconf -i -f -Wno-portability"
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && ./configure --disable-man --disable-silent-rules" C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && ./configure --disable-man --disable-silent-rules"
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && make" C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && make"
@@ -29,6 +30,7 @@ build_script:
else else
{ {
C:\cygwin64\setup-x86_64.exe -qP bison flex libiodbc-devel C:\cygwin64\setup-x86_64.exe -qP bison flex libiodbc-devel
C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && git clone git@github.com:mdbtools/mdbtestdata.git test"
C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && autoreconf -i -f -Wno-portability" C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && autoreconf -i -f -Wno-portability"
C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && ./configure --disable-man --disable-silent-rules" C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && ./configure --disable-man --disable-silent-rules"
C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && make" C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && make"

View File

@@ -16,11 +16,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
/* #include <windows.h> */
#include <stdio.h> #include <stdio.h>
#include <sql.h> #include <sql.h>
#include <sqlext.h> #include <sqlext.h>
// This test requires the presence of nwind.mdb in the MDBPATH.
// It is stored in a separate repository: https://github.com/mdbtools/mdbtestdata
#define SALES_PERSON_LEN 2 #define SALES_PERSON_LEN 2
#define STATUS_LEN 6 #define STATUS_LEN 6

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
select * from Customers