diff mbox series

[RFC,1/7] selftests: openvswitch: add test case error directories to clean list

Message ID 20240216152846.1850120-2-aconole@redhat.com (mailing list archive)
State New
Headers show
Series selftests: openvswitch: cleanups for running as selftests | expand

Commit Message

Aaron Conole Feb. 16, 2024, 3:28 p.m. UTC
Normally, the openvswitch selftests don't keep error files around, but
if debugging, there is an option to keep these files.  The 'clean'
target should be informed that they exist to ensure they are deleted
properly.

Signed-off-by: Aaron Conole <aconole@redhat.com>
---
 tools/testing/selftests/net/openvswitch/Makefile | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/openvswitch/Makefile b/tools/testing/selftests/net/openvswitch/Makefile
index 2f1508abc826..e6c4a89cc14a 100644
--- a/tools/testing/selftests/net/openvswitch/Makefile
+++ b/tools/testing/selftests/net/openvswitch/Makefile
@@ -8,6 +8,16 @@  TEST_PROGS := openvswitch.sh
 
 TEST_FILES := ovs-dpctl.py
 
-EXTRA_CLEAN := test_netlink_checks
+OVS_TESTS := \
+	test_arp_ping \
+	test_ct_connect_v4 \
+	test_connect_v4 \
+	test_nat_connect_v4 \
+	test_nat_related_v4 \
+	test_netlink_checks \
+	test_upcall_interfaces \
+	test_drop_reason
+
+EXTRA_CLEAN := $(OVS_TESTS)
 
 include ../../lib.mk