new makefile target for error reporting
authorGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Sun, 18 Aug 2013 10:20:11 +0000 (12:20 +0200)
committerGiuseppe Lettieri <g.lettieri@iet.unipi.it>
Mon, 19 Aug 2013 15:16:43 +0000 (17:16 +0200)
planetlab/exp-tool/Makefile

index d62a4c5..52aae82 100644 (file)
@@ -604,3 +604,13 @@ $(foreach link,$(EXTERNAL_LINKS),cache/endpoint.$(link)@2): cache/endpoint.%@2:
           ./tunproxy -t $$(cat cache/host.$(call leftnode,$*)):$$(cat cache/port.$*@1) \
            -p $(call default,EXTERNAL_PORT,$(call rightnode,$*)) -e -d
 
+# reporting
+.PHONY: report
+report:        
+       @echo SHELL=$(SHELL)
+       @echo "===> Configuration ($(CONF)):"
+       @cat $(CONF)
+       @for f in log/*; do \
+            echo "===> Log file $$(basename $$f):"; \
+            cat $$f; \
+        done