This fixes make clean removing the daemon file because of the mechanics
of pycov make target.

Signed-off-by: Ihar Hrachyshka <ihrac...@redhat.com>
---
 tests/automake.mk                       | 2 +-
 tests/ovn-macros.at                     | 2 +-
 tests/{scapy-server => scapy-server.py} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename tests/{scapy-server => scapy-server.py} (100%)

diff --git a/tests/automake.mk b/tests/automake.mk
index f23ec353e..f6f0f0e33 100644
--- a/tests/automake.mk
+++ b/tests/automake.mk
@@ -311,7 +311,7 @@ CHECK_PYFILES = \
        tests/uuidfilt.py \
        tests/test-tcp-rst.py \
        tests/check_acl_log.py \
-       tests/scapy-server
+       tests/scapy-server.py
 
 EXTRA_DIST += $(CHECK_PYFILES)
 PYCOV_CLEAN_FILES += $(CHECK_PYFILES:.py=.py,cover) .coverage
diff --git a/tests/ovn-macros.at b/tests/ovn-macros.at
index 8475e54b6..2137eb564 100644
--- a/tests/ovn-macros.at
+++ b/tests/ovn-macros.at
@@ -843,7 +843,7 @@ fmt_pkt() {
 start_scapy_server() {
     pidfile=$ovs_base/scapy.pid
     ctlfile=$ovs_base/scapy.ctl
-    "$top_srcdir"/tests/scapy-server --pidfile=$pidfile --unixctl=$ctlfile 
--detach
+    "$top_srcdir"/tests/scapy-server.py --pidfile=$pidfile --unixctl=$ctlfile 
--detach
     on_exit "test -e \"$pidfile\" && ovs-appctl -t $ctlfile exit"
 }
 
diff --git a/tests/scapy-server b/tests/scapy-server.py
similarity index 100%
rename from tests/scapy-server
rename to tests/scapy-server.py
-- 
2.38.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to