summaryrefslogtreecommitdiff
path: root/lib/common/Test.cpp
Commit message (Collapse)AuthorAge
* Fix deletion of test fixture directories with unicode names on Windows.Chris Wilson2015-12-25
| | | | | | | | We need to use CreateProcessW() instead of system() to pass these filenames to the rd command. Fixes every test that runs after test_unicode_filenames_can_be_backed_up in test/bbackupd.
* Fix deletion of fixtures between tests in test/backupstore.Chris Wilson2015-12-25
|
* Use rd instead of rmdir command, to try to work properly in appveyor.Chris Wilson2015-12-20
| | | | | I think something is on the PATH in Appveyor that makes rmdir /s/q fail, especially when run through Perl.
* Add CTest configurations to CMake. Make some tests work on Windows/MSVC.Chris Wilson2015-12-13
|
* Move load_config_file to Test.cpp to allow reuse.Chris Wilson2015-07-25
|
* Major test refactor to support test suites.Chris Wilson2015-07-01
| | | | | | | Refactor all common code from testbbackupd and testbackupstore to allow other test suites to contain multiple tests and execute selected tests more easily. Report all test results within a suite in a standard, easy to read summary.
* Add logging for functions that trigger bbackupd using bbackupctl.Chris Wilson2014-12-21
|
* Simplify code with macros, update comments and fix whitespace.Chris Wilson2014-09-04
| | | | | | Hopefully all of these changes are inconsequential. Merged back changes from the test refactor branch to reduce diffs.
* Remove the global logging level.Chris Wilson2014-04-09
| | | | | It's incompatible with having a logger that logs everything, regardless of the global log level.
* Move accurate sleep code from Test.cpp to BoxTime, allow requesting timesChris Wilson2011-01-12
| | | | | | | in microseconds with ShortSleep(), make safe_sleep() use it. Rename MILLI_SEC_IN_NANO_SEC to MILLI_SEC_IN_SEC which is what it actually is.
* Make TestGetFileSize take a std::string instead of a char * for C++ Chris Wilson2010-03-18
| | | | | style.
* fix typo properlyChris Wilson2010-03-02
|
* UndoChris Wilson2010-03-02
|
* typoChris Wilson2010-03-02
|
* Workaround for problem with nanosleep() return values on OSX causing testChris Wilson2010-02-28
| | | | | to hang.
* Fixes for gcc 4.4.Martin Ebourne2009-04-23
|
* Show reasons for waiting during bbackupd and backupstorepatch tests,Chris Wilson2009-04-09
| | | | | | | | | | | to help with interpreting test output. When running at Trace level, where extra output from bbackupd etc. is common, log a single line at the start of waiting, instead of progress dots, to help with interpreting output. Show number of seconds waited for on Windows as well as Unixes.
* Fix tests (hopefully) on Win32 for struct stat ino_t change from 16 toChris Wilson2009-03-21
| | | | | 64 bits.
* Win32 compile fix for WaitForServerStartup.Chris Wilson2008-08-08
|
* Separate LaunchServer and WaitForServerStartup.Chris Wilson2008-08-07
|
* On Windows XP, you can open a process even after it's terminated, toChris Wilson2008-07-27
| | | | | | retrieve the exit code, so the check for process liveness has to be modified to make the basicserver test pass.
* Include "Box.h" in the right place.Chris Wilson2008-05-28
|
* Separate checks for file existing and file not empty.Chris Wilson2008-05-28
|
* Move test helper functions out-of-line to aid debugging by allowingChris Wilson2008-04-09
breakpoints to be set on them.