This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use $(PYTHON) in benchtests.


On Sat, Jun 20, 2015 at 09:20:43PM -0400, Carlos O'Donell wrote:
> If you add the benchtests to an older glibc source tree as a patch
> it results in *.py files which are not executable. This means you
> can't immediately run the benchtests without making the scripts
> executable. To fix this we should run them via the interpreter.
> Eventually we might want to setup configure to detect and find python,
> like if we need python3, but for now this solves my immediate problem.
> 
> OK to checkin?
> 
> 2015-06-20  Carlos O'Donell  <carlos@redhat.com>
> 
> 	* benchtests/Makefile (PYTHON): Define.
> 	(bench-func): Use $(PYTHON) to run python scripts.
> 	($(objpfx)bench-%.c): Likewise.

Looks good to me.

Thanks,
Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]