Skip to contentSkip to conversation

openvswitch: ptest: Fix python path

PATCH In review [email protected] 2 participants 2 messages Apr 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 openvswitch: ptest: Fix python path

From: He Zhe <[email protected]>

For now PYTHON just happens to be the same as TARGET_PYTHON so we get the right python binary. This patch sets PYTHON to TARGET_PYTHON since ptest is going to be run on target.

---
 tests/atlocal.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/atlocal.in +1 -1
index 5815c6c..db2d2c9 100644
@@ -5,7 +5,7 @@ EGREP='@EGREP@'
 PERL='@PERL@'
 
 if test x"$PYTHON" = x; then
-    PYTHON='@PYTHON@'
+    PYTHON='@TARGET_PYTHON@'
 fi
 
 PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
Signature · 1 line
1.9.1
#1 lore raw

Looks like the patch to the actual recipe is missing. Can you resend ? Right now,
there's no way to apply this.

Bruce

Quoted 35 lines · On Mon, Apr 18, 2016 at 2:45 AM, <[email protected]> wrote:

From: He Zhe <[email protected]>

For now PYTHON just happens to be the same as TARGET_PYTHON so we get the right
python binary. This patch sets PYTHON to TARGET_PYTHON since ptest is going to
be run on target.

---
 tests/atlocal.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/atlocal.in +1 -2
index 5815c6c..db2d2c9 100644
@@ -5,7 +5,7 @@ EGREP='@EGREP@'
 PERL='@PERL@'
 
 if test x"$PYTHON" = x; then
-    PYTHON='@PYTHON@'
+    PYTHON='@TARGET_PYTHON@'
 fi
 
 PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
--

1.9.1

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"