Lines Matching +full:regress +full:. +full:in
2 # libevent rpcgen_wrapper.sh
3 # Transforms event_rpcgen.py failure into success for make, only if
4 # regress.gen.c and regress.gen.h already exist in $srcdir. This
6 # as with read-only sources fresh from tarball, regress.gen.[ch] will
7 # be correct in $srcdir but unwritable. This previously triggered
8 # Makefile.am to create stub regress.gen.c and regress.gen.h in the
10 # files in the build tree after distclean, breaking distcheck.
11 # Note that regress.gen.[ch] are not in fresh git clones, making
12 # working Python a requirement for make distcheck of a git tree.
15 # echo "Updated ${srcdir}/regress.gen.c and ${srcdir}/regress.gen.h"
20 echo "event_rpcgen.py failed, ${srcdir}/regress.gen.\[ch\] will be reused." >&2
25 echo "Could not generate regress.gen.\[ch\] using event_rpcgen.sh" >&2
38 srcdir=${srcdir:-.}
40 ${PYTHON2} ${srcdir}/../event_rpcgen.py --quiet ${srcdir}/regress.rpc \
41 test/regress.gen.h test/regress.gen.c
43 case "$?" in
48 test -r ${srcdir}/regress.gen.c -a -r ${srcdir}/regress.gen.h && \