From a832a44e67e77dd1a9ec57e9c054feddb0355cfc Mon Sep 17 00:00:00 2001 From: David Gibson Date: Wed, 6 Jul 2022 17:29:06 +1000 Subject: 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 --- test/ndp/passt | 1 - test/ndp/pasta | 1 - 2 files changed, 2 deletions(-) (limited to 'test/ndp') diff --git a/test/ndp/passt b/test/ndp/passt index 155ff26..d6b4c40 100644 --- a/test/ndp/passt +++ b/test/ndp/passt @@ -11,7 +11,6 @@ # Copyright (c) 2021 Red Hat GmbH # Author: Stefano Brivio -onlyfor passt passt_in_ns gtools ip jq sipcalc grep htools ip jq sipcalc grep cut diff --git a/test/ndp/pasta b/test/ndp/pasta index ef9dee7..2a2dd1a 100644 --- a/test/ndp/pasta +++ b/test/ndp/pasta @@ -11,7 +11,6 @@ # Copyright (c) 2021 Red Hat GmbH # Author: Stefano Brivio -onlyfor pasta nstools ip jq sipcalc grep cut htools ip jq sipcalc grep cut -- cgit v1.2.3