diff options
author | 오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com> | 2018-11-20 19:09:36 +0900 |
---|---|---|
committer | GitHub Enterprise <noreply-CODE@samsung.com> | 2018-11-20 19:09:36 +0900 |
commit | e659b76a45dacdf68cc764c5eb10f0e0bf1403db (patch) | |
tree | 5d501111edda0e51546abd0bab11bb3981097ff5 /Makefile | |
parent | 586971e678584cb8721be1532e4455ed75dee78a (diff) | |
download | nnfw-e659b76a45dacdf68cc764c5eb10f0e0bf1403db.tar.gz nnfw-e659b76a45dacdf68cc764c5eb10f0e0bf1403db.tar.bz2 nnfw-e659b76a45dacdf68cc764c5eb10f0e0bf1403db.zip |
Generate text file to save build path depth in coverage build (#3651)
Generate text file tools/test_driver/build_path_depth.txt to save build path depth.
gcov for cross build need directory strip to match build host directory and target directory.
Build path depth will be used to set GCOV_PREFIX_STRIP environment variable on target.
Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -218,8 +218,9 @@ build_coverage_suite: install_internal @echo "packaging test-coverage suite" @rm -rf $(INSTALL_ROOT)/coverage-suite.tar.gz @find Product -name "*.gcno" > include_lists.txt + @pwd | grep -o '/' | wc -l > tools/test_driver/build_path_depth.txt @tar -zcf coverage-suite.tar.gz tests/ tools/test_driver $(INSTALL_ALIAS) --dereference -T include_lists.txt - @rm -rf include_lists.txt + @rm -rf include_lists.txt tools/test_driver/build_path_depth.txt @mv coverage-suite.tar.gz $(INSTALL_ROOT)/. runtime_build_internal: $(BUILD_ROOT) |