From 4b76b3ca061852465150edabb76c1a939f191091 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 7 Dec 2010 23:39:53 +0100 Subject: [PATCH] Finish ploting --- gw-tests/Makefile | 2 +- gw-tests/lib.sh | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/gw-tests/Makefile b/gw-tests/Makefile index 2f1cf86..ac9760f 100644 --- a/gw-tests/Makefile +++ b/gw-tests/Makefile @@ -12,7 +12,7 @@ $(T):%: .PHONY: plot plot: - $(MAKE) TEST_FLAGS="-p -X" + find results -name plot.sh -exec '{}' -X ';' .PHONY: html html: diff --git a/gw-tests/lib.sh b/gw-tests/lib.sh index f4e74ac..b571996 100644 --- a/gw-tests/lib.sh +++ b/gw-tests/lib.sh @@ -88,7 +88,7 @@ _measure() { export hostkvers=$hostkvers export traffic=$traffic cd \$(dirname \$0)/$(dirname $script) - exec ./$(basename $script) --plot + exec ./$(basename $script) --plot "\$@" EOF chmod +x plot.sh # Set can interfaces up @@ -126,12 +126,7 @@ _run() { _measure fi if [[ ! "$OPT_PLOT_DISABLE" ]]; then - if [[ "$OPT_PLOT_ONLY" ]]; then - _plot - else - # Call ourselves once again - ./plot.sh - fi + _plot fi cd - done -- 2.39.2