This patch makes unixbench cross compilation under Chromium OS portage build
environment.
The unixbench tarball inside autotest has a prebuilt i386 executable under
pgms, "select", which is not used in the test anyway, but will fail cross
compiling for arm platform. Portage think the executable "select" was made
into wrong formant(i386 instead of arm).
I had test unixbench against an i386 linux and PASSED.
Index: client/tests/unixbench/unixbench.py
===================================================================
--- client/tests/unixbench/unixbench.py (revision 4249)
+++ client/tests/unixbench/unixbench.py (working copy)
@@ -20,6 +20,7 @@
utils.system('patch -p1 < ../unixbench.patch')
utils.system('patch -p1 < ../Makefile.patch')
utils.system('make')
+ utils.system('rm pgms/select')
def run_once(self, args='', stepsecs=0):
--
Eric Li
李咏竹
Google Kirkland
Index: client/tests/unixbench/unixbench.py
===================================================================
--- client/tests/unixbench/unixbench.py (revision 4249)
+++ client/tests/unixbench/unixbench.py (working copy)
@@ -20,6 +20,7 @@
utils.system('patch -p1 < ../unixbench.patch')
utils.system('patch -p1 < ../Makefile.patch')
utils.system('make')
+ utils.system('rm pgms/select')
def run_once(self, args='', stepsecs=0):
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest