cmake: Fix some failing example builds, fix gcov

This commit is contained in:
Angus Gratton
2018-09-18 14:23:56 +10:00
committed by Angus Gratton
parent 4b23d70eec
commit b38a6da74b
10 changed files with 19 additions and 11 deletions

View File

@@ -88,8 +88,8 @@ else
[ -z ${NUM_OF_JOBS} ] && die "NUM_OF_JOBS is bad"
# count number of examples
NUM_OF_EXAMPLES=$(echo ${EXAMPLE_PATHS} | wc -l )
[ -z ${NUM_OF_EXAMPLES} ] && die "NUM_OF_EXAMPLES is bad"
NUM_OF_EXAMPLES=$( echo "${EXAMPLE_PATHS}" | wc -l )
[ ${NUM_OF_EXAMPLES} -lt 100 ] && die "NUM_OF_EXAMPLES is bad"
# separate intervals
#57 / 5 == 12