diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2014-02-23 22:04:04 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2014-02-25 11:44:50 +0100 |
commit | f37cf255b5ff143520ed62736a70d4f9abade5ca (patch) | |
tree | 67e98c9ebd59841e63fc88dce152bf370fbd3818 | |
parent | 11c67f0014e064399488bac2cd552a7fb57b8f6c (diff) |
common/scripts/netperf-client: tee to view output
Change-Id: If707fe2b58fc789411e4c2e093473c51c3f87541
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-x | common/scripts/netperf-client.sh | 10 | ||||
-rw-r--r-- | openembedded/netperf-client-multinode.yaml | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/common/scripts/netperf-client.sh b/common/scripts/netperf-client.sh index 288cc0f..4d9ef7f 100755 --- a/common/scripts/netperf-client.sh +++ b/common/scripts/netperf-client.sh @@ -27,8 +27,8 @@ fi ifconfig -a ping -c 1 ${remote_ip} || exit 1 -ping -c 30 ${remote_ip} | ./common/scripts/netperf2LAVA.py -for m in 64 128 256 512 1024 2048 4096 8192 16384; do netperf -H ${remote_ip} -l 20 -c -C -- -m $m -D; done | ./common/scripts/netperf2LAVA.py -for m in 64 128 256 512 1024 2048 4096 8192 16384; do netperf -H ${remote_ip} -l 20 -t UDP_STREAM -c -C -- -m $m -D; done | ./common/scripts/netperf2LAVA.py -for m in 1 32 64 128 512 1024 4096 8192 16384; do netperf -t TCP_RR -H ${remote_ip} -l 20 -c -C -- -r $m,$m -D; done | ./common/scripts/netperf2LAVA.py -for m in 1 32 64 128 512 1024 4096 8192 16384; do netperf -t UDP_RR -H ${remote_ip} -l 20 -c -C -- -r $m,$m -D; done | ./common/scripts/netperf2LAVA.py +ping -c 30 ${remote_ip} | tee ~/output.txt | ./common/scripts/netperf2LAVA.py +for m in 64 128 256 512 1024 2048 4096 8192 16384; do netperf -H ${remote_ip} -l 20 -c -C -- -m $m -D; done | tee -a ~/output.txt | ./common/scripts/netperf2LAVA.py +for m in 64 128 256 512 1024 2048 4096 8192 16384; do netperf -H ${remote_ip} -l 20 -t UDP_STREAM -c -C -- -m $m -D; done | tee -a ~/output.txt | ./common/scripts/netperf2LAVA.py +for m in 1 32 64 128 512 1024 4096 8192 16384; do netperf -t TCP_RR -H ${remote_ip} -l 20 -c -C -- -r $m,$m -D; done | tee -a ~/output.txt | ./common/scripts/netperf2LAVA.py +for m in 1 32 64 128 512 1024 4096 8192 16384; do netperf -t UDP_RR -H ${remote_ip} -l 20 -c -C -- -r $m,$m -D; done | tee -a ~/output.txt | ./common/scripts/netperf2LAVA.py diff --git a/openembedded/netperf-client-multinode.yaml b/openembedded/netperf-client-multinode.yaml index e3cd6ef..ecb79b1 100644 --- a/openembedded/netperf-client-multinode.yaml +++ b/openembedded/netperf-client-multinode.yaml @@ -32,6 +32,7 @@ run: - lava-sync ready - lava-test-case multinode-lava-network --shell ./common/scripts/netperf-client.sh $ETH - lava-sync done + - "lava-test-run-attach ~/output.txt text/plain" parse: "pattern": "^test_case_id:(?P<test_case_id>.+) units:(?P<units>.+) measurement:(?P<measurement>\\d+\\.\\d+) result:(?P<result>\\w+)" |