diff options
| author | William A. Kennington III <wak@google.com> | 2018-08-21 19:23:19 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2018-08-23 19:12:10 -0700 |
| commit | 387110bdf265b5c4435b740aed7e24c3975c514b (patch) | |
| tree | 5d9ac70de6697dec88896e66da5970e60500622b /example/asio-example.cpp | |
| parent | 69425eb7d30816c03f88962c44b12b6de5b3cc71 (diff) | |
| download | sdbusplus-387110bdf265b5c4435b740aed7e24c3975c514b.tar.gz sdbusplus-387110bdf265b5c4435b740aed7e24c3975c514b.zip | |
configure: Fix --disable-tests
Currently, we encounter errors when passing `--disable-tests` because
variables used for automake never get defined when you wrap
AX_CODE_COVERAGE and AX_VALGRIND in AS_IF statements. We can fix this by
ensuring that valgrind and code coverage are disabled when tests are
disabled but the autoconf macros are still present.
Tested:
Unit testing still works as expected and builds with --disable-tests
now succeed.
Change-Id: Iddf2db4625d6760455982f1a6fc136f57becd162
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'example/asio-example.cpp')
0 files changed, 0 insertions, 0 deletions

