mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 02:27:55 +08:00
Move test data to separate repository
This commit is contained in:
@@ -159,6 +159,7 @@ jobs:
|
||||
- YACC="/usr/local/opt/bison/bin/bison"
|
||||
|
||||
before_script:
|
||||
- git clone git@github.com:mdbtools/mdbtestdata.git test
|
||||
- autoreconf -i -f -Wno-portability
|
||||
|
||||
script:
|
||||
|
@@ -22,6 +22,7 @@ build_script:
|
||||
if ($env:TOOLCHAIN -eq "msys2")
|
||||
{
|
||||
$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 && ./configure --disable-man --disable-silent-rules"
|
||||
C:\msys64\usr\bin\bash -l -c "cd /c/projects/mdbtools && make"
|
||||
@@ -29,6 +30,7 @@ build_script:
|
||||
else
|
||||
{
|
||||
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 && ./configure --disable-man --disable-silent-rules"
|
||||
C:\cygwin64\bin\sh -lc "cd /cygdrive/c/projects/mdbtools && make"
|
||||
|
@@ -16,11 +16,12 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
/* #include <windows.h> */
|
||||
#include <stdio.h>
|
||||
#include <sql.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 STATUS_LEN 6
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
||||
select * from Customers
|
Reference in New Issue
Block a user