summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git')
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-c298ef781c2d35d939fe163cbc2f41ea7b1cb8d1.patch (renamed from recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-f4b0e64cffb4777ff03d48621c3eadcf1d8c19f3.patch)10
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch30
2 files changed, 5 insertions, 35 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-f4b0e64cffb4777ff03d48621c3eadcf1d8c19f3.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-c298ef781c2d35d939fe163cbc2f41ea7b1cb8d1.patch
index 7e740441..47c81dd9 100644
--- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-f4b0e64cffb4777ff03d48621c3eadcf1d8c19f3.patch
+++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-c298ef781c2d35d939fe163cbc2f41ea7b1cb8d1.patch
@@ -1,4 +1,4 @@
1From e20556d7cf0fc8258db77c1f3e0a160cf9fd4514 Mon Sep 17 00:00:00 2001 1From a2a656e6976a60e5df3ade0d17a40b4ebdc2b41a Mon Sep 17 00:00:00 2001
2From: He Zhe <zhe.he@windriver.com> 2From: He Zhe <zhe.he@windriver.com>
3Date: Wed, 30 Mar 2016 06:23:45 -0400 3Date: Wed, 30 Mar 2016 06:23:45 -0400
4Subject: [PATCH] openvswitch: Add test-install rule to support ptest execution 4Subject: [PATCH] openvswitch: Add test-install rule to support ptest execution
@@ -19,13 +19,13 @@ Signed-off-by: He Zhe <zhe.he@windriver.com>
19 create mode 100644 test.mk 19 create mode 100644 test.mk
20 20
21diff --git a/Makefile.am b/Makefile.am 21diff --git a/Makefile.am b/Makefile.am
22index ed43c2f..f38d278 100644 22index a4dd7b8..0bd32c7 100644
23--- a/Makefile.am 23--- a/Makefile.am
24+++ b/Makefile.am 24+++ b/Makefile.am
25@@ -401,3 +401,4 @@ include datapath-windows/include/automake.mk 25@@ -429,3 +429,4 @@ include windows/automake.mk
26 include windows/automake.mk
27 include ovn/automake.mk 26 include ovn/automake.mk
28 include selinux/automake.mk 27 include selinux/automake.mk
28 include build-aux/automake.mk
29+include test.mk 29+include test.mk
30diff --git a/test.mk b/test.mk 30diff --git a/test.mk b/test.mk
31new file mode 100644 31new file mode 100644
@@ -106,5 +106,5 @@ index 0000000..b10a581
106+ sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite 106+ sed -i 's|ovs-appctl-bashcomp\.bash|/etc/bash_completion.d/ovs-appctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
107+ sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite 107+ sed -i 's|ovs-vsctl-bashcomp\.bash|/etc/bash_completion.d/ovs-vsctl-bashcomp\.bash|g' $(TEST_DEST)/tests/testsuite
108-- 108--
1091.9.1 1092.7.4
110 110
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch
deleted file mode 100644
index c75ebc50..00000000
--- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 2a78bddb865e0d3377f437428ed6825195af0a14 Mon Sep 17 00:00:00 2001
2From: He Zhe <zhe.he@windriver.com>
3Date: Wed, 13 Apr 2016 03:13:01 -0400
4Subject: [PATCH] openvswitch: ptest: Fix python path
5
6For now PYTHON just happens to be the same as TARGET_PYTHON so we get the right
7python binary. This patch sets PYTHON to TARGET_PYTHON since ptest is going to
8be run on target.
9
10Signed-off-by: He Zhe <zhe.he@windriver.com>
11---
12 tests/atlocal.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/tests/atlocal.in b/tests/atlocal.in
16index 5815c6c..db2d2c9 100644
17--- a/tests/atlocal.in
18+++ b/tests/atlocal.in
19@@ -5,7 +5,7 @@ EGREP='@EGREP@'
20 PERL='@PERL@'
21
22 if test x"$PYTHON" = x; then
23- PYTHON='@PYTHON@'
24+ PYTHON='@TARGET_PYTHON@'
25 fi
26
27 PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
28--
291.9.1
30