summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/verify4
-rw-r--r--cpp/examples/Makefile.am4
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/verify b/bin/verify
index 96fe1df9b3..652f83b83f 100755
--- a/bin/verify
+++ b/bin/verify
@@ -38,6 +38,8 @@ background() {
out=`outfile $*`
eval "$* $ARGS > $out &" || { fail; return 1; }
waitfor $out "$pattern"
+ # printing the ready message doesn't guarnatee we're ready, so sleep a bit.
+ sleep 1
}
name() {
@@ -79,7 +81,7 @@ if [ -n "$QPIDD" ] ; then
fi
for example in "$@"; do
- echo -n "$example : "
+ echo -n "== $example "
if ( verify $example; ) then echo "PASS"; else echo "FAIL"; RET=1; fi
done
exit $RET
diff --git a/cpp/examples/Makefile.am b/cpp/examples/Makefile.am
index 9b41b130e9..d633f995a9 100644
--- a/cpp/examples/Makefile.am
+++ b/cpp/examples/Makefile.am
@@ -44,7 +44,9 @@ VERIFY_FILES= verify verify_all \
EXTRA_DIST=$(nobase_pkgdata_DATA) $(VERIFY_FILES)
-verify:
+force:
+
+verify: force
cp $(top_srcdir)/../bin/verify $@
# Note: we don't use normal automake SUBDIRS because the example