History log of /external/autotest/client/tests/ltp/ltp.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
13a7f293093442feb4632d69ebdf519d5960e27c 09-Feb-2013 Mike Frysinger <vapier@chromium.org> ltp: pull in sysctl updates

I've committed this upstream already to fix building with newer arches
(like x32) that omit the sysctl syscall and glibc wrapper.

BUG=chromium-os:36866
TEST=`emerge-x32-generic autotest-tests-ltp` works now

Change-Id: Icd635688967b1eddcb24bdfa667697211c17f54a
Reviewed-on: https://gerrit.chromium.org/gerrit/42974
Reviewed-by: Mike Truty <truty@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/tests/ltp/ltp.py
3743a319cc0d37714d7015863ba0936965068287 11-Jun-2012 Mike Truty <truty@chromium.org> Fix stack smash in genpow.c

This array indexing issue has surprisingly not manifested on x86
or previous arm platforms.

Also, decluttered the test dir by pushing patches off together.

BUG=chromium-os:10347
TEST=run_remote_tests.sh client/tests/ltp/control.full

Change-Id: I7fd2c31c06aa72a67756ed94c6a1efd0c25ef77a
Reviewed-on: https://gerrit.chromium.org/gerrit/24977
Reviewed-by: Olof Johansson <olofj@chromium.org>
Tested-by: Mike Truty <truty@chromium.org>
Reviewed-by: Mike Truty <truty@chromium.org>
Commit-Ready: Mike Truty <truty@chromium.org>
/external/autotest/client/tests/ltp/ltp.py
d39893ec873e49f653ac0edb3520121d67056367 23-Mar-2012 Mike Frysinger <vapier@chromium.org> ltp: add kill/ipc parallel build fix from upstream

This should hopefully fix the parallel build issue seen with
the kill/ipc subdirs.

BUG=None
TEST=`TESTS=ltp emerge-x86-generic autotest-tests` worked

Change-Id: I3e3e8de1cd21c0a2868154dabf51241799db356f
Reviewed-on: https://gerrit.chromium.org/gerrit/18967
Reviewed-by: Mike Truty <truty@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/tests/ltp/ltp.py
6d86aecef3e2a0123d12c239c14c978543eef18f 09-Mar-2012 Mike Frysinger <vapier@chromium.org> ltp fixes from upstream

Building ltp for x86 boards with PIE/PIC fails due to poor code in the
LTP project. This has been fixed upstream, so this is just adding the
patches to our local cache.

BUG=None
TEST=`emerge-x86-alex autotest-deps` works

Change-Id: I985df47504e64c5b523adfd5a42d5372a6db9457
Reviewed-on: https://gerrit.chromium.org/gerrit/17838
Reviewed-by: Mike Truty <truty@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
/external/autotest/client/tests/ltp/ltp.py
07dabdb849469ff94b9fa37d037600185dd7d9b1 25-Feb-2012 Mike Truty <truty@chromium.org> Update LTP binary, generalize control file entry and run simplest test.

Establish an entry point for expanding execution of LTP test suites.
-Created a simple control file that demonstrates straightforward selection
of test suites and/or tests.
-Replaced Bash+pl result parsers with a single Python parser.

This takes ~8min on a GLaptop to emerge.

BUG=None
TEST=many local runs.

Change-Id: I26da6e7d123cb4234d1e66cdeb8c45a1a0bbe98a
Reviewed-on: https://gerrit.chromium.org/gerrit/16793
Reviewed-by: Dennis Jeffrey <dennisjeffrey@chromium.org>
Commit-Ready: Mike Truty <truty@chromium.org>
Tested-by: Mike Truty <truty@chromium.org>
/external/autotest/client/tests/ltp/ltp.py
6f27d4f22a1ba5063968b8c322fa0845f3279ade 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch3

Merge to trunk@4817

BUG=
TEST=

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

Change-Id: I83376bc7d28104ec2678e157eadbe7df7c05c0e0
/external/autotest/client/tests/ltp/ltp.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/ltp/ltp.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/ltp/ltp.py
4cefaef4797a7d595a3a6837e20dae19179196b5 24-Mar-2010 Kenneth Waters <kwaters@chromium.org> autotest: Make the "ltp" test comile on ARM.

- Add a utility function to wrap "./configure" to pass appropriate "--host",
"--target", and "--build" options to configure.
- Change the ltp test to use said utility
- Workaround an internal compiler error in "ltp". The epoll-ltp.c test
writes zero to an uint64_t through an unaligned pointer. This causes our
compiler to die. The behavior is undefined by the C standard (C99 Section
6.3.2.3) and I suspect that even if it did compile it would cause a "bus
error" on ARM. I replaced the assignment with a call to memset.

TEST=Built for x86-generic and arm-generic
BUG=None

Review URL: http://codereview.chromium.org/1161005
/external/autotest/client/tests/ltp/ltp.py
9ba0b0342ee61f7ba0c2c9aedae37c132fc20a7c 30-Jan-2010 Eric Li <ericli@google.com> Refine ltp for chromeos.

Some ltp tests are used to test a vanilla Linux and for sure they will fail inside chromeos.

So add an exclude test list file in order to make ltp to pass on chromeos.

Disclaimer:
I had excluded 271 tests out of 1315. Maybe there are legitimate failures which we should spent more time to analysis and fix them properly. But I really don't have time to do so for now.

The test time is also reduced to ~ 30min for now.

Review URL: http://codereview.chromium.org/558027
/external/autotest/client/tests/ltp/ltp.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/ltp/ltp.py
0a59166a70a81d71b7d4adc67313e140edfd7279 06-Jan-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> This patch upgrade ltp to the latest version

From: ericli@google.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4074 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
822032214be93f0380bdcc03c3a5272f0d7591cd 21-May-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add the ability to ignore tests, and to catch failures in LTP from logs



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3162 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
831b66182f1290dc012c3a41d629a6b9910c8a2e 02-May-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Summary - A couple of LTP module bugfixes

Signed-off-by Lucas Meneghel Rodrigues <lookkas@gmail.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3082 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
d8d6c483ef43b611794fa5a67b04371de122a186 17-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Created a method to configure site specific behaviour of the ltp test by
putting it into a site_config.py. Used this to configure site specific
list of ignored ltp tests.

Signed-off-by: Mihai Rusu <dizzy@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2802 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
47dc4d21845de831d979d3a5f51e31f4bbf2cc2a 12-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Change the key/val delimiter to | by default. Make it an option.

Signed-off-by: Jean-Marc Eurin <jmeurin@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2783 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.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/ltp/ltp.py
0d022e761fef3a3d871a642bc56af9dbbdf7c54f 28-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Converting ltp test to run_once.

Part of the patch series to make tests using profiling transparently

Risk: low
Visibility: low - users of ltp test

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2062 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.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/ltp/ltp.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/ltp/ltp.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/ltp/ltp.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/ltp/ltp.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/ltp/ltp.py
e829ba5bdd5062038af60dbd35d7c466ba0b834c 03-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Risk: Medium to high (Touches a lot of code)
Visibility: Under the hood code cleanup
from autotest_utils import * fixes and other import issues throughout the code base

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1591 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
0b0dde4de55a89e11ce5cd85fd1e9f39388d8af3 28-Mar-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> update LTP

Patch to :
1) Update the LTP test suite to the 02-29-2008 release
2) Modify ltp.patch to work with the new release
3) Update ltp.py to comment out the capability tests if we fail to load the capability module
4) Add a separate capability patch to comment out the capability tests from the suite

Steps to apply the patch:
a) Replace "client/tests/ltp/ltp-full-20070731.tar.bz2" with "ltp-full-20080229.tar.bz2"
b) Apply "ltp_patch" attached in this email.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1381 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
a7cf728d545f422c84e219cc56b91bdc99684d1f 11-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> I've noticed that when you use upstream ltp testcase informing a
specific test of testcases to run in the control file, like:

job.run_test('ltp', '-f fs -s ^gf', tag='growfiles')

The arguments are being passed incorrectly to ltp run script. This patch
changes the order of the arguments passed to runltp and puts proper
spacing when constructing the argument string, restoring the expected
behavior.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1057 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
31217452c6ed477b8af38c69f7a6fc6ca171b7c2 05-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> ltp: use autotest's temporary directory, not /tmp

Signed-off-by: Adrian Bauer <adrianbg@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1037 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
772942d8f42fe52ef67cd024307057e6e959bcee 20-Nov-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> At LTP we have many test scripts that we can run, not only the 'runltp'.

This patch is just to modify how we can run test cases inside ltp, for
example:
- Run sysfs test script
job.run_test('ltp', script = 'testscripts/sysfs.sh')

- Run ltpstress test script for 4 hours
job.run_test('ltp', script = 'testscripts/ltpstress.sh', args = '-t 4')

Signed-off-by: Ricardo Salveti de Araujo <rsalvetidev@gmail.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@948 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
a65cd33cfd5a7ec5d2eaa14489f003324a84b634 04-Oct-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up lack of profilers call in ltp. Oops

From: rsalvetidev@gmail.com



git-svn-id: http://test.kernel.org/svn/autotest/trunk@747 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
9424c66234668685002f3e6fab359342a97fb895 03-Oct-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Updates for the ltp test case

From: Ricardo Salveti de Araujo <rsalvetidev@gmail.com>

Now that we're using the release 20070731 we have many updates
from LTP side:
- now it's possible to run just a single test case using the
arguments -f and -s (-f for the command file and -s for the test
case name, that the script will try to find with a grep)
- runltp is generating a fail command file, that stores how to
run the test cases that got failed when running (you can run only
the failed test cases giving this file to flag -f)

This patch changes the execute commentary, explaining how to run just
a single test case, add the fail command file argument, organize how
we run the test and add the profilers section, so we can run ltp with
profilers (like we have in many other test cases).



git-svn-id: http://test.kernel.org/svn/autotest/trunk@743 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
4591fecc569ab2f9e681b15ae94d5d5bba780852 31-Aug-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> While Im in the updating mood, I noticed LTP is pretty old. The version
in autotest produces a spurious fail on ppc64:

# grep FAIL ltp/debug/stdout
shmget02 2 FAIL : call succeeded unexpectedly

The patch below updates to the most recent release. Note that this
release has UTS namespace tests which will fail on older kernels, in
this case RHEL5:

# grep FAIL ltp/debug/stdout
uts_namespace 1 FAIL : test 3 (clone): hostname 1 serge1, hostname
2 serge1, these should have been different
uts_namespace 1 FAIL : test 4 (clone): hostname 1 serge1, hostname
2 serge2, should be same
sysvipc_namespace 1 FAIL : clone: child process found shmid
sysvipc_namespace 1 FAIL : unshare failed

Does this present an issue for people running autotest regressions?

From: Anton Blanchard <anton@samba.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@654 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
5b448af999f801700eb5c05ec6e061bbb2ae33f4 18-Jul-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Comment on necessity of lex in ltp

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@565 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
75c1f8e74d4d7bf3d593c66ec580508b6ea424c1 10-Mar-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up LTP test so it:

1. Doesn't hardcode PATH (!!!!!!)
2. Doesn't require lex (precompile scan.l -> scan.c)

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@500 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.py
d016ecce0b5b990569e0ecca6f9f4f399c16e5c1 25-Nov-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Modify runtest to make tag argument optional



git-svn-id: http://test.kernel.org/svn/autotest/trunk@385 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/tests/ltp/ltp.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/ltp/ltp.py