aboutgitcodebugslistschat
path: root/test/perf
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-07-06 17:29:06 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-07-14 01:32:42 +0200
commita832a44e67e77dd1a9ec57e9c054feddb0355cfc (patch)
treee9ca9aa3034126a52f035c9d4ce015a703507438 /test/perf
parent544f790bf837ebe7d7e25fa59a5790e5dbb412a1 (diff)
downloadpasst-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.tar
passt-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.tar.gz
passt-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.tar.bz2
passt-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.tar.lz
passt-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.tar.xz
passt-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.tar.zst
passt-a832a44e67e77dd1a9ec57e9c054feddb0355cfc.zip
tests: Explicitly list test files in test/run, remove "onlyfor" support
Currently test/run uses wildcards to run all of the tests in a directory. However, that wildcard list is filtered down by the "onlyfor" directives in the test files... usually to a single file. Therefore, just explicitly list the files we *really* want to run for this test mode. This makes it easier to see at the top level what tests will be executed, and to change that list temporarily while debugging specific failures. This means the "onlyfor" directive no longer has any purpose, and we can remove it. "onlyfor" was also the only used of the $MODE variable, so we can remove that too. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'test/perf')
-rw-r--r--test/perf/passt_tcp1
-rw-r--r--test/perf/passt_udp1
-rw-r--r--test/perf/pasta_tcp1
-rw-r--r--test/perf/pasta_udp1
4 files changed, 0 insertions, 4 deletions
diff --git a/test/perf/passt_tcp b/test/perf/passt_tcp
index 555e211..e80b608 100644
--- a/test/perf/passt_tcp
+++ b/test/perf/passt_tcp
@@ -11,7 +11,6 @@
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>
-onlyfor passt_in_ns
gtools sysctl ip jq nproc seq sleep bc iperf3 tcp_rr tcp_crr # From neper
nstools sysctl ip jq nproc seq sleep bc iperf3 tcp_rr tcp_crr
htools bc head sed seq
diff --git a/test/perf/passt_udp b/test/perf/passt_udp
index b840d85..05e692e 100644
--- a/test/perf/passt_udp
+++ b/test/perf/passt_udp
@@ -11,7 +11,6 @@
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>
-onlyfor passt_in_ns
gtools sysctl ip jq nproc sleep iperf3 udp_rr # From neper
nstools ip jq sleep iperf3 udp_rr
htools bc head sed
diff --git a/test/perf/pasta_tcp b/test/perf/pasta_tcp
index 5ef0f69..f4e97cb 100644
--- a/test/perf/pasta_tcp
+++ b/test/perf/pasta_tcp
@@ -11,7 +11,6 @@
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>
-onlyfor passt_in_ns
htools head ip seq bc sleep iperf3 tcp_rr tcp_crr jq sed
nstools sysctl nproc ip seq bc sleep iperf3 tcp_rr tcp_crr jq sed
diff --git a/test/perf/pasta_udp b/test/perf/pasta_udp
index 114a9bc..5f750b5 100644
--- a/test/perf/pasta_udp
+++ b/test/perf/pasta_udp
@@ -11,7 +11,6 @@
# Copyright (c) 2021 Red Hat GmbH
# Author: Stefano Brivio <sbrivio@redhat.com>
-onlyfor passt_in_ns
htools bc head ip sleep iperf3 udp_rr jq sed
nstools ip sleep iperf3 udp_rr jq sed