lkml.org 
[lkml]   [2012]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf test: Check python path on attr test
On Mon, Dec 17, 2012 at 04:25:01PM +0900, Namhyung Kim wrote:
> From: Namhyung Kim <namhyung.kim@lge.com>
>
> Current perf test code tries to execute python version 2 in order to
> test attributes on perf_event_open syscall. However it's not default
> python version anymore a system can have python v3 only or v2 with a
> different name (e.g. python2). So if there's no such python
> interpreter with the name 'python', the test would fail like this
> (yes, it's happened on my new archlinux laptop :).
>
> 13: struct perf_event_attr setup :sh: python: command not found
> FAILED!
>
> As we can pass name of the python interpreter on make, use it for
> the attr test also.
>
> Cc: Jiri Olsa <jolsa@redhat.com>
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>

Acked-by: Jiri Olsa <jolsa@redhat.com>

jirka


\
 
 \ /
  Last update: 2012-12-17 15:42    [W:0.037 / U:1.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site