diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-09-10 16:46:59 +1000 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-09-10 16:46:59 +1000 |
commit | b94c056b137e59deefc62fbfe0cd3a23edfcc07c (patch) | |
tree | 2bce03b8f128958e5c2451c34ed284cbafd5736f /.travis.yml | |
parent | fd06c54d4711f20d16bb1e18cba4d7bed09e5ad2 (diff) | |
download | dtc-b94c056b137e59deefc62fbfe0cd3a23edfcc07c.zip dtc-b94c056b137e59deefc62fbfe0cd3a23edfcc07c.tar.gz dtc-b94c056b137e59deefc62fbfe0cd3a23edfcc07c.tar.bz2 |
Make valgrind optional
Some platforms don't have valgrind support, and sometimes you simply might
not want to use valgrind. But at present, dtc, or more specifically its
testsuite, won't compile without valgrind because we use the valgrind
client interface in some places to improve our testing and suppress false
positives.
This adds some Makefile detection to correctly handle the case where
valgrind is not available.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 87adfa0..ecdef0d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,11 +25,8 @@ matrix: - make - make check && make checkm - # Check it builds properly without the python bits - - addons: - apt: - packages: - - valgrind - script: + # Check it builds properly without optional packages: + # python, valgrind + - script: - make - make check |