From: Raghavendra D Prabhu Date: Fri, 1 Apr 2011 00:17:36 +0530 Subject: [PATCH] Added a py3k test to feature tests. Currently, make fails at a later stage when python-devel test succeeds incorrectly for Py3k. This fixes that. Signed-off-by: Raghavendra D Prabhu --- tools/perf/feature-tests.mak | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/perf/feature-tests.mak b/tools/perf/feature-tests.mak index b041ca6..ba287c9 100644 --- a/tools/perf/feature-tests.mak +++ b/tools/perf/feature-tests.mak @@ -84,6 +84,8 @@ define SOURCE_PYTHON_EMBED int main(void) { + if (PY_VERSION_HEX >= 0x03000000) + return 1; Py_Initialize(); return 0; } -- 1.7.4.2