8 : ${QCC:=$PWD/../../../../gmqcc/gmqcc}
13 -DWATERMARK="\"$(git describe --tags --dirty='~')\""
16 QCCDEFS="${QCCDEFS[@]}"
29 -Wno-implicit-function-pointer
30 -Wno-missing-return-values
32 QCCFLAGS="${QCCFLAGS[@]} ${NOWARN[@]}"
38 declare -l base="${1}"
40 declare -l file="${3}"
41 qpp ${file} test.dat \
42 -include lib/_all.inc -include ${base}/_all.qh \
43 -I. ${QCCIDENT} ${QCCDEFS} -D${MODE} > ${WORKDIR}/${MODE}.qc
44 qcc ${QCCFLAGS} -o ../${WORKDIR}/test.dat ../${WORKDIR}/${MODE}.qc >/dev/null
48 declare -l base="${1}"
50 find ${base} -type f -name '*.qc' -print0 | sort -z | while read -r -d '' file; do
51 check1 ${base} ${MODE} ${file}