| Commit message (Collapse) | Author | Age |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Master build fails with: lib/common/Timer.cpp:171:10: error: reference cannot
be bound to dereferenced null pointer in well-defined C++ code; pointer may be
assumed to always convert to true [-Werror,-Wundefined-bool-conversion].
Cannot get regtests to pass on this feature branch without fixing this.
Also remove unused code from Timers.
|
|/
|
|
|
|
|
|
|
|
|
| |
Enable the relevant compiler warning as an error, if supported
(-Werror=undefined-bool-conversion).
http://www.gotw.ca/conv/002.htm
http://stackoverflow.com/questions/2165078/a-reference-can-not-be-null-or-it-can-be-null
(cherry picked from commit f2911acac0c8375a08ecc0a55f853a5a59c4d511)
(cherry picked from commit 5a50b98401302a5ba89366e4c0f8cccdd88d8722)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ideally timers would be perfectly accurate and we could sleep for 1.0 seconds,
but on OSX in particular they could fire 50-100 ms late (I've seen 4 ms in
practice) and we don't want the tests to fail because of this, because we don't
really need that kind of precision in practice. So we reduce the timer
intervals by 100ms to be safe.
Increase logging level and add timestamps in testcommon. Should help to debug
frequent test failures such as Condition [t2.HasExpired()] on OSX hosts on
Travis.
Add a SettingsGuard to the Console logger for its specific settings, such as
showing times and microseconds.
(cherry picked from commit a5e6cff1d435329b0121417ed9509e315ce0edd5)
(cherry picked from commit 8d02eebce553ed822e0fcd60d6e319384e15ba4b)
|
|
|
|
|
| |
NamedLock simply didn't work before. This may cause test failures, but the
tests are already failing on Windows, and must be fixed.
|
| |
|
|
|
|
|
|
| |
Fix test/common memory leak checks now that MemBlockStream allocates another
block.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
well (e.g. wxWidgets) and it causes conflicts which are difficult to
resolve.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Import of the upstream sources from
Repository: http://localhost:8000/
Kind: hg
Revision: 7807b7768163f1c2537756abe5416063989cebb1
Original author: tailor@rocio.int.aidworld.org
Date: 2008-03-16 19:44:36+00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(bbackupd and bbackupquery).
Redesign ConfigurationVerify to use classes instead of structs.
Use port 22011 instead of 2201 during tests, to reduce the chances of
conflicting with a running bbstored or other process.
Ignore autogen_* in svn:ignore everywhere instead of individual per-file
ignores.
|
| |
|
| |
|
|
|
|
|
| |
crash in release mode, but assert in debug mode. (refs #3)
|
|
|
|
|
| |
over 2GB in size. (refs #3)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
executables run in tests, to be implemented in a follow-up patch.
ConvertPaths, LaunchServer and RunCommand all take std::string references
instead of char*.
Move safe_sleep from test/common to lib/server/Test.h so that all tests
can use it.
(refs #3)
|
|
|
|
|
| |
(refs #3)
|
|
|
|
|
| |
#3, refs #9)
|
|
|
|
|
|
| |
since sleep() may use signals and interfere with SIGALRM, and also
cannot be resumed if interrupted by a signal. (refs #3, refs #9).
|
|
|
|
|
| |
(refs #9)
|
|
|
|
|
|
| |
standard libraries, free it before the memleak tests, to avoid test
failures (refs #3)
|
| |
|
|
|
|
|
| |
(refs #3)
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
|
|
| |
- 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).
|
| |
|
|
|
|
| |
You may need a new checkout to see this.
|
| |
|
| |
|
| |
|
|
|