Remove empty tix dirs
To make hpc-coveralls work, because it expects a tix file in all dirs.
commita5a6efc83a92587a4c2b9f3ca02638c1703c9d38
authorHarendra Kumar <harendra@composewell.com>
dateThu 31 Dec 2020, 19:41 (6 years ago)
parent364334e
bin/build-lib.sh+3
@@ -219,6 +219,9 @@ run_target () {
219219
220220 run_verbose $target_prog $($extra_args $target_name $target_prog) \
221221 || die "Target exe failed"
222+
223+ # hpc-coveralls fails if there is an empty dir and no .tix file generated
224+ rmdir $(dirname $(get_tix_file $target_name)) 2>/dev/null || true
222225}
223226
224227# $1: package name