summaryrefslogtreecommitdiff
path: root/test/thread/t.c
Commit message (Collapse)AuthorAgeFilesLines
* WT-2956 utility tests -h option is always overridden by the default setup ↵Keith Bostic2016-10-101-2/+0
| | | | (#3085)
* WT-2682 add option to configure WiredTiger with strict compiler flags (#2773)Keith Bostic2016-06-081-1/+2
| | | | | | Add the --enable-strict option that uses our current best guess at the right flags for strict compilation. While adding the option, expand the set of flags we can compile cleanly with.
* WT-2422: multiple definitions of custom die functionKeith Bostic2016-02-221-0/+2
| | | | Define the custom die function once per program.
* Upgrade copyright notices from 2015 to 2016.Keith Bostic2016-01-011-1/+1
|
* Changes for CRDavid Hows2015-05-111-2/+2
|
* Fix failed testsDavid Hows2015-05-111-3/+3
|
* Change all testutils functions to return nothingDavid Hows2015-05-111-2/+1
|
* Ignoring return value of function 'testutil_clean_work_dir(char *)'Keith Bostic2015-05-081-4/+3
| | | | KNF
* CR ChangesDavid Hows2015-05-071-1/+2
|
* Add testutils to all testsDavid Hows2015-05-051-48/+21
|
* Make the die() function look like all the other test programs,Keith Bostic2015-04-141-9/+17
| | | | support variadic arguments.
* Fix the interrupt code to clean up the correct directory.Keith Bostic2015-04-141-3/+8
|
* Fix the usage statement (options without arguments go first).Keith Bostic2015-04-141-2/+2
|
* Make test/thread use WT_TEST not cwd, and add some more logging.Alex Gorrod2015-04-141-1/+12
|
* Allow longer connection config strings in test/thread.Alex Gorrod2015-04-141-2/+6
|
* Add a new statistic to track sweep evictions.Alex Gorrod2015-04-131-5/+17
| | | | | | Add functionality to test/thread to vary the number of operations on different tables. Hopfully it'll let us construct workloads where tables are closed by sweep.
* Copyright notices: add MongoDB, update to 2015.Keith Bostic2015-01-041-0/+1
|
* /thread/t.c:49:12: error: redundant redeclaration of __wt_getoptKeith Bostic2014-10-221-1/+0
| | | | [-Werror=redundant-decls]
* gcc doesn't like externs inside functions (warning: nested externKeith Bostic2014-10-101-3/+4
| | | | declaration ofXXX)
* Move the utilities/util_getopt.c implementation of getopt(3) into theKeith Bostic2014-10-101-12/+16
| | | | | WiredTiger library, and convert all of the utilities and test programs to use it.
* Simplify gcc.h, don't repeat the GCC atomic builtins, just use one version.Keith Bostic2014-10-041-6/+6
| | | | | | Break hardware.h up into gcc.h and lint.h (hardware.h is still there, but it's mostly empty). Remove need for gcc.h from various benchmarking/test programs.
* Minor shuffling to turn on more clang warnings:Keith Bostic2014-09-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | - a few more uninitialized variables - make variables local to a single file static - replace use of WT_UNUSED_RET with error checking of the call (the macro was using a GCC extension clang doesn't like) With these changes, clang is mostly silent using the following options: -Weverything -Wno-cast-align -Wno-conversion -Wno-covered-switch-default -Wno-documentation-unknown-command -Wno-format-nonliteral -Wno-language-extension-token -Wno-missing-noreturn -Wno-packed -Wno-padded -Wno-switch-enum -Wno-zero-length-array Also, minor KNF whitespace cleanups.
* Add a -F option to thread, to create a separate file for every thread.Keith Bostic2014-05-201-9/+11
| | | | | | | | With this option, the command line combination "-FS -R 0 -W 10" will trigger the checkpoint problem where closing a file fails because there is an update for the file we can't write. Reference #844, #957.
* Use the default cache size in test/thread: 5MB causes odd side effects that ↵Michael Cahill2014-05-091-1/+1
| | | | make the test slow, particularly with valgrind.
* Update copyright notices for 2014.Keith Bostic2014-01-071-1/+1
| | | | Move lang/java and lang/python into the public domain.
* Merge branch 'develop' into fine-grained-durabilityMichael Cahill2013-11-081-7/+7
|\ | | | | | | | | | | | | | | | | | | Conflicts: dist/api_data.py dist/flags.py src/include/flags.h src/include/txn.h src/include/txn.i test/thread/t.c
| * Rework WT_UNUSED/WT_UNUSED_RET slightly: move GNUC macros out of misc.hKeith Bostic2013-11-061-7/+7
| | | | | | | | | | into their own include file "gcc.h", change the test programs to include and use the definitions from that file.
* | Merge branch 'develop' into fine-grained-durabilityMichael Cahill2013-11-051-1/+1
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: dist/stat_data.py src/include/wiredtiger.in src/support/stat.c test/salvage/salvage.c test/thread/t.c
| * Fix compiler warnings with GCC 4.7.2 on Ubuntu.Alex Gorrod2013-11-011-1/+1
| |
* | Merge branch 'develop' into fine-grained-durabilityMichael Cahill2013-10-291-5/+10
|\ \ | |/
| * Merge branch 'develop' into java-auto-closeAlex Gorrod2013-10-251-1/+1
| |\
| * | Add a WT_SESSION handle to WT_EVENT_HANDLER callbacks.Alex Gorrod2013-08-291-4/+8
| | | | | | | | | | | | | | | Specifically added to handle_error, handle_message and handle_progress. This change allows applications to match events to session handles.
| * | Merge branch 'develop' into java-auto-closeAlex Gorrod2013-08-151-1/+6
| |\ \
| * | | Add a stub callback for auto closed handles. Update handlers in tree.Alex Gorrod2013-04-081-1/+2
| | | |
* | | | Merge branch 'develop' into fine-grained-durabilityMichael Cahill2013-10-241-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | Conflicts: dist/s_define.list
| * | | thread opens statistics cursors so we have to configure statistics inKeith Bostic2013-10-211-1/+1
| | |/ | |/| | | | | | | the wiredtiger_open call.
* | | When cleaning up after tests, remove the logs.Michael Cahill2013-08-291-1/+1
|/ /
* | Add log_print support to test/thread.Susan LoVerso2013-06-051-1/+6
|/
* Update copyright notice to 2013.Keith Bostic2013-01-011-1/+1
|
* Move test program software into the public domain, if anyone wants toKeith Bostic2012-10-261-3/+23
| | | | cut-and-paste from it, that's fine with us.
* s/WildTiger/WiredTiger/Michael Cahill2012-10-171-1/+1
|
* Fix __wt_conn_btree_apply to acquire handles correctly,Michael Cahill2012-06-181-2/+2
| | | | pass WT_BTREE_SNAPSHOT_OP from checkpoint code.
* Add test/fops and test/thread to "make check".Michael Cahill2012-06-011-8/+4
|
* Now that test/fops is split out of the thread code, there's no need forKeith Bostic2012-05-281-4/+0
| | | | the error handler to test for ENOENT.
* Split test/thread into two parts, test/thread and test/fops.Keith Bostic2012-05-281-17/+6
|
* Rework WT_EVENT_HANDLERs.Keith Bostic2012-05-041-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the WT_SESSION's WT_EVENT_HANDLER reference to be a real structure, and copy values into it instead of simply pointing to the user-specified structure. The argument for using a reference is the application can swap functions whenever it feels like it, the argument against using a reference is that if the application allocates the structure only long enough to call wiredtiger_open, we're going to drop core. We don't document that the structure needs to persist, and if the application wants to swap functions, it can do it inside the function it gives us, so using a real structure doesn't lose any functionality. Change the semantics of the event-handler error function (used to return void, now returns int) and the progress function (used to return int, now returns void). Change the semantics of the erorr and informational handlers so that if the handler returns failure, we fallback to the default behavior. Document the event-handler parameters. Change the code so that a missing handler calls the default handler function: that means a NULL event-handler structure does the right thing, and eliminates the need for __wt_event_handler_default and some initialization code in a few places, and the need to make the default error and informational message handlers look like the application-specified versions. Delete api/api_event.c, move the default informational and error message handlers into support/err.c Delete the default progress message handler entirely, it didn't do anything. Delete include/progress.i (The only function the file had was the default progress handler function, __wt_progress, which is only used by verify and salvage, the compiler can inline it if it wants.) Moved __wt_progress to support/err.c.
* lintKeith Bostic2012-05-031-0/+1
|
* Add support for file operations to the test/thread program.Keith Bostic2012-05-031-7/+30
|
* lintKeith Bostic2012-03-151-4/+5
|
* Fix an error message tag.Keith Bostic2012-03-101-1/+1
|