Permalink
Browse files

tests: Include common.inc in all tests it was missing from

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
  • Loading branch information...
1 parent 763410a commit 2ed464caf9f4c2dc077b87ade4ef0cc50619ec4e @tohojo committed Feb 22, 2017
@@ -104,3 +104,4 @@ PLOTS = o([
]}),
])
+include("common.inc")
@cherusk
cherusk Feb 23, 2017 Contributor

Gosh!

Date: Thu, 23 Feb 2017 08:55:21 +0100
Subject: [PATCH] socket stats: add test config to TCP related tests

Filtered flent/tests/ by

grep -i "common.inc|tcp_stats.inc" * | grep -v .inc

and having chosen reasonable configurations for include of tcp_stats.inc.

Implementation by loop over confs and:

echo 'include("tcp_stats.inc")' >> $i

Signed-off-by: Matthias Tafelmeier matthias.tafelmeier@gmx.net

[...]

ror: patch failed: flent/tests/cisco_5tcpup.conf:181
error: flent/tests/cisco_5tcpup.conf: patch does not apply
error: patch failed: flent/tests/cisco_5tcpup_2udpflood.conf:174
error: flent/tests/cisco_5tcpup_2udpflood.conf: patch does not apply

Was going for tcp_stats.inc, though.

@@ -88,3 +88,4 @@ PLOTS = o([
'parent': 'ping',
'type': 'box'}),
])
+include("common.inc")
@@ -181,3 +181,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -174,3 +174,4 @@ PLOTS = o([
'type': 'meta',
'subplots': ('upload', 'ping')}),
])
+include("common.inc")
@@ -258,3 +258,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -254,3 +254,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -41,3 +41,4 @@ PLOTS = o([
'label': 'Ping (ms)'},],
'cutoff': (DELAY,DELAY)}),
])
+include("common.inc")
@@ -258,3 +258,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -254,3 +254,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -148,3 +148,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -41,3 +41,4 @@ PLOTS = o([
'label': 'Ping (ms)'},],
'cutoff': (DELAY,DELAY)}),
])
+include("common.inc")
@@ -197,3 +197,4 @@ PLOTS = o([
'type': 'meta',
'subplots': ('download', 'upload', 'ping')}),
])
+include("common.inc")
@@ -197,3 +197,4 @@ PLOTS = o([
'type': 'meta',
'subplots': ('download', 'upload', 'ping')}),
])
+include("common.inc")
@@ -197,3 +197,4 @@ PLOTS = o([
'type': 'meta',
'subplots': ('download', 'upload', 'ping')}),
])
+include("common.inc")
@@ -234,3 +234,4 @@ PLOTS = o([
'type': 'box',}),
])
+include("common.inc")
@@ -185,3 +185,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -187,3 +187,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -185,3 +185,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -250,3 +250,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -257,3 +257,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -228,3 +228,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -228,3 +228,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -268,3 +268,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -301,3 +301,4 @@ PLOTS = o([
'label': 'Upload (Mbps)'},
]}),
])
+include("common.inc")
@@ -48,3 +48,4 @@ PLOTS = o([
'label': 'Stream 2',
'combine_mode': 'meta:MEAN_VALUE'}]},),
])
+include("common.inc")
@@ -82,3 +82,4 @@ PLOTS = o([
'combine_mode': 'meta:MEAN_VALUE'}]},
),
])
+include("common.inc")
@@ -82,3 +82,4 @@ PLOTS = o([
'combine_mode': 'meta:MEAN_VALUE'}]},
),
])
+include("common.inc")
@@ -69,3 +69,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")
@@ -127,3 +127,4 @@ PLOTS = o([
'parent': 'totals',
'type': 'box',}),
])
+include("common.inc")

0 comments on commit 2ed464c

Please sign in to comment.