f31b8e489624f9d6a013be0f2bbedffb1bd81171 |
|
14-Jul-2017 |
Arthur Eubanks <aeubanks@google.com> |
Display install APK error message if fail Test: python run_tests.py Change-Id: I0e9d842e1cb839db44d90f96124553b8e5136b20
/frameworks/rs/tests/lldb/tests/harness/util_bundle.py
|
f2bde9ee29dac71db606c9bbb35fc5bd6cae4ca1 |
|
11-Apr-2017 |
David Gross <dgross@google.com> |
lldb test case harness improvement. 1) No reason to push native libraries onto target -- they should come from APKs. 2) Improve error reporting. Test: aosp_x86_64-eng lldb/run_tests.py (on emulator) Change-Id: I633ffb650c28143996aa21bb5dd089f886efc0b5
/frameworks/rs/tests/lldb/tests/harness/util_bundle.py
|
4546f4b74db2655d36b2e19d1e839d7ef37cb27c |
|
04-Nov-2016 |
Luke Drummond <luke.drummond@codeplay.com> |
Add tests for the debugging of Reduction kernels These testcases check LLDB's handling of reductions: tracking script modules that contain reduction kernels; setting breakpoints on reduction kernels; testing the tracking and display of kernel metadata across generated and user-provided funtions; testing breakpoints predicated on `--function-role`; setting breakpoints on functions predicated on `.expand` coordinates. I've also factored out the coordinate handling for allocations tests to make the coordinate-conditional breakpoint assertions reusable now we're able to debug multiple types of RenderScript kernel. Tests coverage: - conditional compilation of combiner (single and multithreaded tests) - testcase with autogenerated combiner and user-supplied combiner function - setting breakpoints on named reductions conditional on the function type and possible permutations of the set of available function types (testing the lldb `--function-role` breakpoint argument. - Test that all available reductions are resolved and check that foreach kernels are listed separately for a script having both forEach and Reduction kernels. - Test deletion and creation of Reduction breakpoints as a group. Test: Run the RenderScript lldb testsuite (frameworks/rs/tests/lldb/run_tests.py) Change-Id: Ib6c61a04d0cbce121cebc8bde83b6afb43d5aa61 Signed-off-by: Luke Drummond <luke.drummond@codeplay.com>
/frameworks/rs/tests/lldb/tests/harness/util_bundle.py
|
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_bundle.py
|
1cea94d9a1268eb8b9d0099a4c145de3f8688e07 |
|
04-Oct-2016 |
Aidan Dodds <aidan@codeplay.com> |
Add a debugger hook point during script group compilation at -O0. This hook supplies the debugger with the name of the script group and the addresses of its kernels. This allows breakpoints to be placed on a script group, which has the effect of placing a breakpoint on its constituent kernels. This is only executed when compiling at -O0. Test: Run the renderscript lldb test suite. Change-Id: I7c688d59aa702696406214423303853ec8dfa6b7 Signed-off-by: Aidan Dodds <aidan@codeplay.com>
/frameworks/rs/tests/lldb/tests/harness/util_bundle.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_bundle.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_bundle.py
|