* WT-2554 Add initial C test framework. With a few sample applications. Need to do further work to cleanup the same applications and share as much code/style as possible. * WT-2554 Fixup build errors. * Fix compiler warning. * Cleanup * Ensure each test runs in a different directory. * Update C test suite names and add copyright. * Move test code into subdirectories. * Replace test_util.i with a real utility library now that we have one. Nothing needs to be an inline function. Mostly cherry picked from 7c18420. * Use WiredTiger getopt in C test suite for platform portability. * Add a header comment to each test case. * Add a C test suite entry auto generator * Style, KNF * Implement review feedback. * Build test/utility library on Windows * Add comment to script. Fix a printf.
16 lines
443 B
Makefile
16 lines
443 B
Makefile
AM_CPPFLAGS = -I$(top_builddir)
|
|
AM_CPPFLAGS +=-I$(top_srcdir)/src/include
|
|
AM_CPPFLAGS +=-I$(top_srcdir)/test/utility
|
|
|
|
noinst_PROGRAMS = cursor_order
|
|
cursor_order_SOURCES = cursor_order_file.c cursor_order_ops.c cursor_order.c
|
|
|
|
cursor_order_LDADD = $(top_builddir)/test/utility/libtest_util.la
|
|
cursor_order_LDADD +=$(top_builddir)/libwiredtiger.la
|
|
cursor_order_LDFLAGS = -static
|
|
|
|
TESTS = $(noinst_PROGRAMS)
|
|
|
|
clean-local:
|
|
rm -rf WT_TEST *.core
|