3 import "build.configuration"
5 BUILD_WORKSPACE_PATH="${NNCC_PROJECT_PATH}/${BUILD_WORKSPACE_RPATH}"
7 if [[ ! -d "${BUILD_WORKSPACE_PATH}" ]]; then
8 echo "'${BUILD_WORKSPACE_RPATH}' does not exist. Please run 'configure' first"
12 BUILD_ITEMS="angkor cwrap pepper-str pepper-strcast pp stdex \
15 loco locop locomotiv logo-core logo \
16 foder souschef arser vconone \
17 safemain mio-circle mio-tflite \
23 circle2circle circle-quantizer"
27 local result=`(ctest --verbose | grep -c '\[ RUN \]') 2>/dev/null`
33 local result=`(ctest --verbose | grep '\[ RUN \]' | grep -c '_NEG') 2>/dev/null`
37 export CTEST_OUTPUT_ON_FAILURE=0
39 for item in $BUILD_ITEMS
41 cd ${BUILD_WORKSPACE_PATH}/compiler/$item &&
43 res="$(count_all)" && printf "$res " &&
44 res="$(count_neg)" && echo "$res"