5bbcc3861c44435f89481f80946ef5c9c49968f2 |
|
11-Nov-2016 |
Luke Drummond <luke.drummond@codeplay.com> |
[NFC] Add missing copyright headers to lldb tests Test: NFC Change-Id: I94fb6b3965887f24188d9afdc7b115c370f42b3f Signed-off-by: Luke Drummond <luke.drummond@codeplay.com>
/frameworks/rs/tests/lldb/tests/harness/util_constants.py
|
74de4db187fc370c9b6625134ae39df6655e7d72 |
|
14-Jul-2016 |
Luke Drummond <luke.drummond@codeplay.com> |
[testsuite] Fix an egregious failure to report failure. After I added the `--app-type` argument allowing a test file to be runnable with multiple app types, I failed to realise that the running total of pass/fails is actually implemented as a dictionary keyed by test file name. Thus, if `test_something.py` fails for app type 'java', but then succeeds for the JNI version, the final exit code of `run_tests.py` will be successful as the success result for the second running of `test_something.py` will overwrite the first as the dictionary key will be identical This patch fixes that issue, asserts that all new results are not yet recorded, and fixes the running total of tests which clouded the issue. Change-Id: If666cead11ad934aa324e06d46f1c733ccad6f1e Signed-off-by: Luke Drummond <luke.drummond@codeplay.com>
/frameworks/rs/tests/lldb/tests/harness/util_constants.py
|
a3c6f62775506c95afd556e617f14d7a28839f01 |
|
20-Jun-2016 |
Luke Drummond <luke.drummond@codeplay.com> |
Bring lldb testsuite up to date with codeplay internal - Make source python2/3 compatible (win32 lldb with debug symbols requires python3) - Reduce testsuite footprint by merging duplicated tests across jni, cpp, and java tests. This code reduction required the addition of new app-type decorators in tests/harness/decorators. Separate directories for each bundle type are no longer required. - Improve wimpy test logic: @wimpy decorator added. `harness.TestBase` now take wimpy argument which is an attribute on all test-cases objects. - Bundle type is now printed in the logs. - Revise the test breakpoint coordinate test, and fix problem with incorrectly numbered breakpoints in `test_breakpoint_coordinate_3d_add_half_kernel()` - Support better test descovery with multiple `test_*` methods per `TestBase` object, and multiple TestBase objects per module. - Added single source tests. - Added `--fail-fast` command line switch to bail out after first failure. - Added basic progress metering - Deprecate running the emulator from the testsuite; this required the addition of the `decorators.deprecated` decorator. - Added `--app-type` command line argument to specify a subset of tests to run. - Clean up naming conventions in the tested apps. Change-Id: Ifc34a9c2a2666152760a261333a20d585cfb3162 Signed-off-by: Luke Drummond <luke.drummond@codeplay.com>
/frameworks/rs/tests/lldb/tests/harness/util_constants.py
|
dcecc0c8d22e894525e25a122ce25129b51338f2 |
|
28-Mar-2016 |
Dean De Leo <dean@codeplay.com> |
Python test suite for debugging a RenderScript app using lldb. Includes testing for newly introduced lldb commands, which are subcommands of "language renderscript". The targets ARM, AArch64, x86, x86-64 and Mips32 are fully supported and should expect a 100% pass rate. Change-Id: Ida882056b3627b380dfda880e22a121d68d79922
/frameworks/rs/tests/lldb/tests/harness/util_constants.py
|