Commit Graph

11 Commits

Author SHA1 Message Date
9ce9b11ba4 Use Boost.Process for launcher to cope with further sub processes
* Use a process group / job object via Boost.Process to be able to
  terminate sub processes as well
* Do not try to stop the process gracefully under Windows by posting
  WM_CLOSE because this has no effect on Syncthing anyways
* See https://github.com/Martchus/syncthingtray/issues/94
2021-06-16 22:44:48 +02:00
975e86c895 Allow backend libraries to be used from other projects
So far the backend libraries' include paths were relative within this
repository. This means the header files could not be used at their
installed location.

This change replaces them with "<>" includes to fix that problem and adds
a new include directory so building everything at once still works.

With this change it should be easier to actually split some parts into
another repository if this one would become too big.
2021-01-25 19:48:11 +01:00
64473df5ba Adapt to changes in c++utilities 2019-06-10 22:48:26 +02:00
703225b410 Fix/improve CLI tests
* Adapt to interleaved output previously enabled in SyncthingTestInstance
* Make it work when verbose output for debugging is enabled
* Show which status line didn't match in case of an failure
* Disable flaky rescan tests in release mode
2018-10-20 23:48:24 +02:00
2f26543acf Add app to automatically setup basic env for manual testing 2018-01-27 16:47:10 +01:00
69ffaeb1f3 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:48:15 +02:00
1ed4905139 tests: Allow specifying timeout factor
The timeout factor is read from environment
variable SYNCTHING_TEST_TIMEOUT_FACTOR
2017-07-14 16:23:32 +02:00
2c3ad1d932 test helper: Fix including syncthingprocess.h 2017-07-11 22:57:35 +02:00
e4a382e4e8 Improve connector tests
Region coverage now by 74.4417%
2017-07-09 23:34:43 +02:00
732a5fdd8d Apply clang-format 2017-05-01 03:34:43 +02:00
40b8713ba6 Move test helper to separate library
Allows to share common test helper code
between tests for different components
2017-04-01 16:56:36 +02:00