History log of /external/autotest/client/tests/unixbench/unixbench.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
861b2d54aec24228cdb3895dbc40062cb40cb2ad 04-Feb-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into master

Merged to upstream autotest @4749~@5215.

The entire change list description is too big to enlist here. Please refer to upstream (http://autotest.kernel.org/browser) for more details.

BUG=
TEST=emerged both x86 and arm build.
Tested emerged x86 build bvt against a chromeos device.

Review URL: http://codereview.chromium.org/6246035

Change-Id: I8455f2135c87c321c6efc232e2869dc8f675395e
/external/autotest/client/tests/unixbench/unixbench.py
bdaab795cffa33f9a37995bb283047cb03699272 07-Jan-2011 Kenneth Waters <kwaters@chromium.org> Revert "Merge remote branch 'cros/upstream' into autotest-rebase"

This reverts commit 7edb30498d75a29a3287fe07070f2b51a116c5d4.

TEST=Built for tegra2_seaboard
BUG=10756

Review URL: http://codereview.chromium.org/6124004

Change-Id: Ifcd1a2279f5a62b99552a8f961c1430889a3a928
/external/autotest/client/tests/unixbench/unixbench.py
7edb30498d75a29a3287fe07070f2b51a116c5d4 07-Jan-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into autotest-rebase

Merged to upstream trunk@5066, from trunk@4749.

There is no way I could enlist each individual CL from the upstream here since it will blow up the changelist description field.

BUG=
TEST=
Had patched this CL into a fresh cut client to avoid any side effect.
run_remote_test bvt from both emerged location and third_party/autotest/file.

Both test passed!

We should also keep any eye on this to see how it gets propagated into cautotest server.
TBR=dalecurtis

Change-Id: I72f2bc7a9de530178484aea1bfb5ace68bcad029
/external/autotest/client/tests/unixbench/unixbench.py
517d95a1ef4edb04da427763f86068a447d45ec7 29-Sep-2010 Benson Leung <bleung@chromium.org> Revert "Merge remote branch 'cros/upstream' into tempbranch2"

This reverts commit 25fc6d1f28e54c46689f12d3b93c2540ef45323a.

TBR=ericli@chromium.org

Review URL: http://codereview.chromium.org/3541002

Change-Id: Ib0165b19bfdf02264f8a6a74ddf3ae74c8c0f7df
/external/autotest/client/tests/unixbench/unixbench.py
25fc6d1f28e54c46689f12d3b93c2540ef45323a 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch2

Merged to trunk@4816.

BUG=
TEST=we will build a new autotest server instance, and keep cautotest running and then later do a cname switch.

Review URL: http://codereview.chromium.org/3511003

Change-Id: Iee5f52f45f28f84927d6c6f9a74edc370d40288a
/external/autotest/client/tests/unixbench/unixbench.py
e4ac99142601214c216f6ed4967efc888d88d448 03-Mar-2010 Eric Li <ericli@google.com> At the beginning of UnixBench Run script, it used the following logic to decide what flavor of unix it is running.

if [ -z "${FLAVOR-}" ]; then
# determine flavor of UNIX from number of lines generated by "time"
Fcount=`/usr/bin/time date 2>&1 | wc -l | sed 's/ //g'`
case "$Fcount" in
2) FLAVOR=BSD ;;
3) FLAVOR=Linux ;;
5) FLAVOR=SysV ;;
*) echo "Flavor of UNIX is not known."
echo "Please define FLAVOR in Run script"
exit;;
esac
fi
export FLAVOR

Unfortunately the new chromeos does not have /usr/bin/time installed and it will fail since it could no longer figure out the flavor itself.

This CL intend to teach UnixBench which unix flavor it is.

Review URL: http://codereview.chromium.org/667002
/external/autotest/client/tests/unixbench/unixbench.py
f7b0d272133c7b385825651c61c529b24b21d454 19-Feb-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> fix unixbench cross-compile

From:ericli@google.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4254 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
12b45582c04b2417036a6f11afc843ac5fddea50 11-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Massive permission fix

Fix permissions for all the development tree

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4094 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
5ba43b2b2911e44d50c8b58c99fdbad347e9c974 05-Jan-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> The recent gcc had dropped support of -fforce-mem and it was turned on by default with -O2 flag.

Removing this flag from Makefile.

Risk: This change was tested under gcc4.* x86 platform. gcc 2.7.* or 2.8.* or other platforms were not tested at all.

From: ericli@google.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4069 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
f074a93f4993cd6d424128e7a33ef5e5d36a9979 06-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix unixbench not to try to use non-word characters in keys
Now we use the real keyval implementation, it barfs

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2760 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
690cdcb8fd6d34fd26a31ffb851f2e01a97c8c2c 06-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix bug in unixbench. Not sure why the other way didn't work, but
it didn't, and this does.

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2758 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
34b297bba44625fc21ebf8f494454cfdde5a3a4f 03-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Introduce postprocess_iteration, a way to do the perf keyvals once
per iteration, rather than all at the end. This results in cleaner,
less buggy code, that doesn't tend to grab the keyval for the profiled
run by mistake

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2734 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
53da18eddf69243ca175d9a4603cba5b55300726 05-Jan-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Rename autotest_utils to utils

Fixes longstanding hangover ugliness from the original change away
from doing "from autotest_utils import *".

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2595 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
d876f459fff6cc4994cab329b1f80c99a86edcbd 03-Dec-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> gps pointed out that "== and != work in most cases but its better to use is
and is not as you'll never run into a case where someone's __eq__ or __ne__
method do the wrong thing."

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2533 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
987b7479e5311f82a9b95a12f5d7cb8f691fe3e0 12-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Stripping out an explicit 'r' in file open, it's not really our standard style.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2135 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
64ed9745e4a9051e2304c26858852ecda5fee7fa 11-Sep-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> The report path is opened for 'a' here when it should be opened for
'r'. I also cleaned up some minor stylistic things.

Risk: Low (it didn't work before)
Visibility: Medium (now it works...though no one really noticed it
didn't :-)

Signed-off-by: Jeremy Orlow <jorlow@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2134 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
22b3a33dab0637b03e3d115e7a6f773fc0527f5d 28-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Converting unixbench test to run_once.

Part of the patch series to make tests using profiling transparently

Risk: low
Visibility: low - users of unixbench test

Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2077 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
c5ddfd1f71caef9ec0c84c53ef7db42fcdc33e1c 04-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> I have attached the patch for the packaging system.
The documentation is available at : http://test.kernel.org/autotest/PackagingSystem

Signed-off-by: Ashwin Ganti <aganti@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1953 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
8b352856e457518fde6bab947d8fcdb3f53a39ad 07-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Manual whitespace cleanups and coding style fixes

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1665 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
0afbb6369aa5aa9a75ea67dd9e95ec4b21c0c181 06-Jun-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Convert all python code to use four-space indents instead of eight-space tabs.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
34d0117395947490dbeed9bb1368bb360919266d 05-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Risk: Required
Visibility: Minimal
Second pass on clean up.
I tested all test to make sure they at least run correctly, adding a few control
file stubs here and there.
Most of the fixes are import os fixes along with a few incorrect references

Signed-off-by: Scott Zawalski <scottz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1607 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
9f8579202a07a123a3f73c1eb2211d8fe9553b11 05-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Risk: Required at this point
Visibilty: Under the hood
Here is an update to all public tests adding imports where they were missing
and removing import *

Signed-off-by: Scott Zawalski <scottz@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1605 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
3d32ddf895a6b87067f50f106c92dd82c4835b83 07-Apr-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> The stepsecs option has no effect on the whetstone subtest, which is hardwired to a duration of 10 seconds.

This change has no effect on current uses of Unixbench or on the scores reported by those uses.

From: Duane Sand <duanes@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1403 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
8de9a4d5e65d55e3193ab1a2bcb7aef3a0deac95 04-Mar-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> ftp.us.postgresql.org no longer resolves. Fix the hostname and update
to version 8.3.0.

When testing this on a fresh install I noticed readline-dev and zlib-dev
weren't installed. It turns out we don't need them - readline is only
useful for interactive usage and zlib is used for dump/restore. Lets
disable them and get rid of a bit of dependency hell.

Signed-off-by: Anton Blanchard <anton@samba.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1291 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
908d31ee222ed9dd45edb400b78750007a71148e 28-Feb-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Unixbench is broken, so we need to patch it up before compiling it.
The existing code terminates the list of varargs to execl with a 0,
which doesn't always work because execl is expecting all of its
arguments to be a char*. On platforms where sizeof(int) < sizeof(char*)
this can result in the vararg "null terminator" not being NULL.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1274 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
bbbb13e8e9d801bb99a0d4c8a3da135203fd625a 23-Jan-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix keyval parser for unixbench.

From: Ying Han <yinghan@google.com>
Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1189 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
9d4c32ecc7b09958ba377373d8b3da3a1df52b9c 05-Nov-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> add final score to keyval

From: Adrian Bauer <adrianbg@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@881 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
5e3ad6196825647849553fc529931494547ac414 13-Oct-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> add parsing of keyvals to aiostress and unixbench



git-svn-id: http://test.kernel.org/svn/autotest/trunk@794 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
9f5113dbff55baa311e1dcfa09bc8311529e0964 26-Jun-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Make option to do profiling only runs.

Signed-off-by: Ameya Gujar <ameya@google.com>

For tests that are run with profiling, this patch adds the option of skipping the non-profiling run. Previously we did two runs of the test, one with profiling and the other without. Now, one can do a job.profilers.set_only (True) to run only with profiling.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@543 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
ca07e4d6e930effcd0dbbffee90894cc30c80000 26-Nov-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Update range statements for iterations to be simpler.

Change from "range(1, iterations+1)" to "range(iterations)"

Signed-off-by: Martin J. Bligh <mbligh@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@387 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py
7a36dfab52ffc5a1126ed248296efa4f56804e5d 23-Nov-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Move client files under client



git-svn-id: http://test.kernel.org/svn/autotest/trunk@376 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/unixbench/unixbench.py