Commit Graph

324 Commits

Author SHA1 Message Date
81c3ea47a6 Fix PostgreSQL upgrade issues in Travis CI. 2016-10-12 11:38:03 +03:00
fd04338327 Do not overflow buffer in strncat 2016-09-29 11:48:39 +03:00
cd87db5a30 Some typo fixes in the docs. 2016-09-22 06:58:13 -07:00
120cf0bfa2 Merge pull request #69 from grooverdan/0.5_travis_libaio
add libaio-dev to travis
2016-09-22 06:57:17 -07:00
5df6f74c83 Merge pull request #68 from grooverdan/0.5_pkg_luapkgdatadir for lua files 2016-09-22 06:56:27 -07:00
58007b23bc add libaio-dev to travis
Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2016-09-22 09:58:06 +10:00
0fefcfbc9b Change lua scripts to 'require common' if a testdir wasn't passed
This completes what is needed to cause these scripts to pull in common
from the LUA_PATH.

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2016-09-22 09:19:05 +10:00
16ba86827f Load script from pkgdatadir if not local
If the --test=XXX{.lua} script isn't local, load it from the
pkgdatadir where some inbuilt scripts are installed.

Autoappend the .lua extension if this wasn't done alrady.

Here we set the LUA_PATH so that further lua 'require' directives
also pull the source from the pkgdatadir.

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2016-09-22 09:17:57 +10:00
78bd5b3819 {common,bulkinsert}.lua missing from Makefile
Also change the defination so that these get installed to the
pkgdatadir which will help packagers.

Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
2016-09-22 09:14:31 +10:00
ee7082c3cd Prevent script_oltp_*.t failures on slower machines. 2016-09-16 23:55:29 +03:00
95885f6a9f Basic tests for oltp.lua against MySQL and PostgreSQL. 2016-09-16 23:48:12 +03:00
f6e94a0fd6 Fix LOCK TABLES statements for multi-table MySQL/MyISAM benchmarks. 2016-09-16 23:22:10 +03:00
7016cb67e6 Adjust test_mutex.t to pass on slow machines. 2016-09-11 15:59:37 +03:00
3fcceafe62 Reduce --max-requests in the mutex benchmark test.
Reduce --max-requests in the mutex benchmark tests, as it takes too much
time on Travis CI slaves.
2016-09-11 15:29:48 +03:00
da7df5bb26 Fix the memory benchmark test to work on Linux. 2016-09-11 15:28:31 +03:00
1cfcacf84f Basic regression tests for cpu, memory, threads and mutex benchmarks. 2016-09-11 14:37:35 +03:00
8ac3e7e85d Wait until PostgreSQL completes before initializing in Travis CI os OS X. 2016-09-10 01:42:22 +03:00
4503587806 Start and initialize PostgreSQL on OS X in Travis CI builds. 2016-09-09 23:21:22 +03:00
d853d91673 Travis CI configuration change to fix OS X builds. 2016-09-09 22:26:18 +03:00
b17ba51f7f Temporarily disable 'make distcheck' in Travis to diagnose build failures. 2016-09-09 18:11:01 +03:00
aaaf21ea06 Group both MySQL and PostgreSQL into a single item. 2016-09-09 18:05:02 +03:00
2ad038e816 Basic regression tests for MySQL and PostgreSQL drivers.
Add the very basic regression tests for MySQL and PostgreSQL drivers +
necessary Travis CI configuration updates.
2016-09-09 17:26:43 +03:00
da9300e2c0 Cache PIP and Homebrew directories to speed up Travis builds. 2016-09-07 21:38:08 +03:00
122c716f53 Bump the required Visual Studio version to VS2015. 2016-09-07 20:34:20 +03:00
e766de86a8 More fileio regression tests. 2016-09-07 20:09:47 +03:00
f370168792 Look for sysbench in $PWD/../sysbench in addition to other directories. 2016-09-07 11:35:11 +03:00
02aac59372 Print more info in test_run.sh to diagnose Travis failures. 2016-09-07 11:14:10 +03:00
7418441572 Move tests into a separate subdirectory.
Move regression tests into a separate subdirectory. Update README in
tests and covert it from org-mode to markdown. Also add 'make distcheck'
to Travis CI testing.
2016-09-07 10:37:15 +03:00
e90cefada1 Mask version in test_fileio.t on cleanup. 2016-09-07 08:54:29 +03:00
3627f7212e Fix fileio test to work with wc output format on Linux. 2016-09-07 08:42:15 +03:00
58e71ed23f Basic fileio regression test. 2016-09-07 08:34:07 +03:00
687256377e Fix typo in an error message. 2016-09-07 07:57:28 +03:00
7aa3f2d5ca Test driver-specific option descriptions separately from the main help text. 2016-09-05 22:54:03 +03:00
ce63f867bf Basic command tests. 2016-09-05 19:22:34 +03:00
c1c84148f4 Add Coverage Status shield from coveralls.io. 2016-09-05 16:08:23 +03:00
e4c723d2fe Ignore Gcov-generated files. 2016-09-05 16:00:28 +03:00
61ad663b65 Add coveralls.io integration. 2016-09-05 15:59:44 +03:00
f366d873b3 Fix branch name in Travis CI integration. 2016-09-05 14:53:16 +03:00
ce4996c536 Backport Travis CI support from 1.0. 2016-09-05 14:51:05 +03:00
0169adc09f Add tests/include/config.h.in. 2016-09-05 10:45:04 +03:00
8fc9357cf0 Add version.t test + some necessary test harness improvements. 2016-09-05 10:39:47 +03:00
6d5bba1fe6 Basic support for functional/regression testing. 2016-09-04 20:24:07 +03:00
755a61b6cf s/README/README.md/ in top-level Makefile.am. 2016-09-04 15:31:38 +03:00
c843e4fe0f Update .gitignore. 2016-09-04 15:30:27 +03:00
cbd1417cba Make --oltp-read-only=on and --oltp-write-only=on mutually exclusive. 2016-09-03 14:47:17 +03:00
4059bec02f Merge pull request #62 from pfriedenbach/0.5
Added three additional oltp controls (oltp-range-selects, oltp-delete-inserts, oltp-write-only)
2016-09-03 15:31:09 +04:00
7a37c6467a Added oltp-write-only control
Added oltp-write-only : Specifies a test to consist of write only statements (insert, update, and deletes).
2016-09-01 11:26:06 -07:00
c29fc04e00 Merge pull request #59 from jeremycole/0.5
Create indexes after data load in parallel_prepare
2016-08-24 00:33:03 +04:00
9e4a9d4cf5 Create indexes after data load in parallel_prepare
Creating indexes after the data has been loaded is much faster.
2016-08-23 13:21:35 -07:00
00eb404a86 Fix --with-mysql-libs for MySQL 5.7.
Don't use the hard-coded libmysqlclient_r name for the client library,
because it is obsolete in 5.7. Instead, if the client library path is
specified explicitly with --with-mysql-libs, try both libmysqlclient_r
and libmysqlclient in that order.
2016-07-28 10:00:37 +03:00