summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@qadesh.matthew.ath.cx>2009-11-01 13:48:51 +0000
committerMatthew Johnson <mjj29@qadesh.matthew.ath.cx>2009-11-01 13:48:51 +0000
commit94883c197697e54be33f3255f93f47d04d2223a5 (patch)
tree13c0a09102a899cceb560a91cc9d0cec960de5d1 /Makefile
parentd49879de16c25757e4d6be0a5338f062c069bedb (diff)
fix tcp timestamp issues
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e2afa71..65bff86 100644
--- a/Makefile
+++ b/Makefile
@@ -189,6 +189,17 @@ low-level: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBu
$(MAKE) DBUS_JAVA_FLOATS=true low-level-run ;\
kill $$(cat pid))
+checktcp: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
+ ( PASS=false; \
+ testbin/DBusDaemon --tcp --addressfile address --pidfile pid 2> server.log&\
+ sleep 1; \
+ export DBUS_SESSION_BUS_ADDRESS=$$(cat address) ;\
+ dbus-monitor >> monitor.log &\
+ if $(MAKE) DBUS_JAVA_FLOATS=true DEBUG=$(DEBUG) testrun 2>&1 | tee client.log; then export PASS=true; fi ; \
+ kill $$(cat pid) ; \
+ if [ "$$PASS" = "true" ]; then exit 0; else exit 1; fi )
+
+
check: libdbus-java-$(VERSION).jar dbus-java-test-$(VERSION).jar testbin/DBusDaemon dbus.jar dbus-java-bin-$(VERSION).jar dbus-bin.jar
( PASS=false; \
testbin/DBusDaemon --addressfile address --pidfile pid 2> server.log&\