23 Commits

Author SHA1 Message Date
bbee5d5dc5 Prefer python3 to python2 (#379)
Some distributions do not alias /usr/bin/python3 to /usr/bin/python
2020-09-10 17:03:29 +03:00
4cce5eba75 build/CI/packaging: fix a typo in test_run.sh. 2019-10-21 08:28:18 +03:00
bad7feaa27 build/CI/packaging: use command correctly. 2019-10-21 08:15:52 +03:00
5e48a42e77 build/CI/packaging: use 'command' instead of 'which'. 2019-10-21 07:51:25 +03:00
6f70aed8bf build/CI/packaging: pass an absolute path to cram. 2019-10-20 22:39:19 +03:00
ac430bd7cf build/CI/packaging: use python2, if python is not available.
This is required to fix cram tests on RHEL 8.
2019-10-20 22:33:46 +03:00
6972814378 Replace custom data inspection code in regression tests with inspect.lua. 2017-12-24 11:48:29 +03:00
956d12996e Fix "PYTHONPATH: unbound variable" error in test_run.sh. 2017-03-12 12:03:21 +03:00
89ab44d50e Fix #119 (oltp_insert.lua + --auto-inc=0 fails)
Fix oltp_insert.lua when run with --auto-inc disabled. Add regression tests.
2017-03-12 10:45:03 +03:00
f9315b637d Bundle cram and make it used automatically by 'make test'. 2017-03-05 21:14:24 +03:00
06d4f99cb6 Rename the 'sysbench' subdirectory to 'src'. 2017-01-27 09:39:28 +03:00
0e49aa1edb Set LUA_PATH in test_run.sh to point to Lua scripts directory. 2017-01-23 21:03:56 +03:00
12184eef13 Fix test_run.sh to work with named tests. 2017-01-18 00:32:31 +03:00
a1d7c7b483 Fix 'make distcheck'. 2017-01-18 00:10:21 +03:00
1d434809ec SQL API refactoring, cut #1. 2017-01-14 01:29:57 +03:00
18b7e914a6 Various test-related fixes.
1. Fix drivers.t so it passes when no DB drivers are available.
2. Make it possible for the test suite to detect if certain DB drivers
are available, so individual tests that require them can be skipped.
2016-12-05 13:25:39 +03:00
95885f6a9f Basic tests for oltp.lua against MySQL and PostgreSQL. 2016-09-16 23:48:12 +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
ce63f867bf Basic command tests. 2016-09-05 19:22:34 +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