commit | 889ac26a18202149fc15103840f40c0d7df6187e | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@ieisystem.com> | Tue Aug 06 14:32:42 2024 +0800 |
committer | George Liu <liuxiwei@ieisystem.com> | Thu Aug 08 15:03:20 2024 +0800 |
tree | cd4167ba77458658434f4cf9864298f5d9241705 | |
parent | 12837fca4f1221ca5d97a87faf4f6e04332ba331 [diff] [blame] |
UT: disable code coverage support for autotools Since lcov was removed in the previous commit [1], CI script execution failed to support autotools projects (such as libmctp): ``` checking for genhtml... no configure: error: To enable code coverage reporting you must have lcov installed ``` This commit only disables code coverage support for autotools-based projects. Refer: https://github.com/openbmc/openbmc-build-scripts/issues/37 [1]: https://gerrit.openbmc.org/c/openbmc/openbmc-build-scripts/+/72544 Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: Ib62a5f3092d8c6933f3b9ca00d08dbb38d91ce3a
diff --git a/scripts/unit-test.py b/scripts/unit-test.py index d669309..c11ef5f 100755 --- a/scripts/unit-test.py +++ b/scripts/unit-test.py
@@ -705,7 +705,7 @@ ] conf_flags.extend( [ - self._configure_feature("code-coverage", build_for_testing), + self._configure_feature("code-coverage", False), self._configure_feature("valgrind", build_for_testing), ] )