mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Be quiet when making regress.gen.[ch]
This commit is contained in:
parent
aa59c1e924
commit
607a8ff9df
@ -122,7 +122,7 @@ test/regress.gen.c test/regress.gen.h: test/rpcgen-attempted
|
||||
test/rpcgen-attempted: test/regress.rpc event_rpcgen.py test/rpcgen_wrapper.sh
|
||||
$(AM_V_GEN)date -u > $@
|
||||
$(AM_V_at)if $(srcdir)/test/rpcgen_wrapper.sh $(srcdir)/test; then \
|
||||
echo "rpcgen okay"; \
|
||||
true; \
|
||||
else \
|
||||
echo "No Python installed; stubbing out RPC test." >&2; \
|
||||
echo " "> regress.gen.c; \
|
||||
|
@ -12,12 +12,12 @@
|
||||
# working Python a requirement for make distcheck of a git tree.
|
||||
|
||||
exit_updated() {
|
||||
echo "Updated ${srcdir}\regress.gen.c and ${srcdir}\regress.gen.h"
|
||||
# echo "Updated ${srcdir}/regress.gen.c and ${srcdir}/regress.gen.h"
|
||||
exit 0
|
||||
}
|
||||
|
||||
exit_reuse() {
|
||||
echo "event_rpcgen.py failed, ${srcdir}\regress.gen.\[ch\] will be reused." >&2
|
||||
echo "event_rpcgen.py failed, ${srcdir}/regress.gen.\[ch\] will be reused." >&2
|
||||
exit 0
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ exit_failed() {
|
||||
|
||||
srcdir=$1
|
||||
srcdir=${srcdir:-.}
|
||||
${srcdir}/../event_rpcgen.py ${srcdir}/regress.rpc
|
||||
${srcdir}/../event_rpcgen.py --quiet ${srcdir}/regress.rpc
|
||||
case "$?" in
|
||||
0)
|
||||
exit_updated
|
||||
|
Loading…
x
Reference in New Issue
Block a user