summaryrefslogtreecommitdiff
path: root/infrastructure/buildenv-testmain-template.cpp
Commit message (Collapse)AuthorAge
* Rename NDEBUG flag to BOX_RELEASE_BUILD, as other projects use NDEBUG as Chris Wilson2008-12-30
| | | | | | well (e.g. wxWidgets) and it causes conflicts which are difficult to resolve.
* Remove -K option which now does nothing on Windows.Chris Wilson2008-10-03
| | | | | Add -Q option which disables all logging instead.
* Unify program name and console logging tags.Chris Wilson2008-09-13
| | | | | | Add a new class, Logging::Tagger, which can be used to temporarily add information to the program name, such as the client ID in bbstored.
* Set program name in tests to module name (e.g. test/bbackupd).Chris Wilson2008-05-28
| | | | | Add option to show PID in logs (-P) in tests.
* Reorganise includes in test main template.Chris Wilson2008-04-09
|
* Run daemons quietly (with -K) in tests under Windows.Chris Wilson2008-03-13
|
* Flush standard output when finishing test, useful on Windows where it Chris Wilson2008-03-01
| | | | | | happens rarely and test output can end up below the PASSED line and confuse the runtest script.
* Add support for verbosity control in tests.Chris Wilson2008-01-31
|
* Better way to pass arguments to test daemons, with --test-daemon-args.Chris Wilson2007-12-18
|
* Pass test options to test daemons.Chris Wilson2007-12-16
|
* Add -U option to enable logging microsecond timestampsChris Wilson2007-12-15
|
* Don't add a superfluous leading space to bbackupd_args.Chris Wilson2007-11-06
|
* Compile fix for [1903].Chris Wilson2007-11-04
|
* Log something before checking open file descriptors, to ensure thatChris Wilson2007-11-03
| | | | | | the notification socket is open already on MacOS X, as it will be at the end of the test because you can't close it.
* Log exactly which file descriptors have been left open and what they are.Chris Wilson2007-11-03
|
* Include <string> to avoid compile failures on BSD, thanks James O'Gorman.Chris Wilson2007-06-20
| | | | | (refs #3, merges [1698])
* Add --bbackupd-args and --bbstored-args options, which may be used to passChris Wilson2007-04-22
| | | | | | | | | | | | | | | | | | | | | | | | additional command-line parameters to bbackupd and bbstored in some tests. Add -t and -T options, which add tags and timestamps to log messages using the logging framework inside the tests themselves. Now you can do things like: ./t -Tt test \ --bbackupd-args="-VTkt bbackupd" \ --bbstored-args="-VTkt bbstored" and you will get output from the test itself, the bbackupd and bbstored daemons, all interleaved, timestamped and tagged on the console. This is very useful for debugging synchronisation problems, where interleaved output from bbackupd and bbstored in the system logs is not enough, because you want to see exactly how they interact with the test, or you don't have access to the system logs. (refs #3)
* #include Test.h to fix compile (needed for TEST_THAT)Chris Wilson2007-03-04
| | | | | | | | | Improved error message Improved comments (refs #3, merges parts of [712], [1289] and [1337])
* Compile fix: include std::string definition (refs #3)Chris Wilson2006-12-12
|
* Initialise timers in all unit tests (refs #9)Chris Wilson2006-11-13
|
* Initialise memory leak finder in all unit tests (refs #3)Chris Wilson2006-11-13
|
* (refs #3)Chris Wilson2006-09-02
| | | | | Automatically initialise Windows sockets for all tests
* * infrastructure/buildenv-testmain-template.cppChris Wilson2006-08-31
| | | | | | | Record the file and line of first test failure, and print them at the end of the test, useful for debugging when the first failure has scrolled off screen (refs #3)
* * buildenv-testmain-template.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * mergeChris Wilson2006-07-27
| | | | | | | - This is my current patch queue. I think that all of these are safe to apply. This is just under half of the pending changes in chris/general (the easy half).
* Merged 210:218 from chris/win32/merge/07-win32-fixes to trunkMartin Ebourne2005-12-12
|
* Fixing up svn:executable properties.Martin Ebourne2005-12-12
| | | | You may need a new checkout to see this.
* Box Backup 0.09 with a few tweeksBen Summers2005-10-14