f31b8e489624f9d6a013be0f2bbedffb1bd81171 |
14-Jul-2017 |
Arthur Eubanks <aeubanks@google.com> |
Display install APK error message if fail Test: python run_tests.py Change-Id: I0e9d842e1cb839db44d90f96124553b8e5136b20
til_bundle.py
|
ea7cbdf5a4f4f987969ca2200ab590b8a4482a54 |
24-May-2017 |
I-Jui (Ray) Sung <ijsung@google.com> |
Fix option syntax for lldb in test harness A command line option for lldb prepared by test harness was incorrect in syntax, causing an error of "failed to get reply to handshake packet". This CL fixes that error per suggestions from labath@ and aeubanks@. Test: lldb test suite with emulator on x86-64 Change-Id: I57f98fd6c3d4222fddea2bb884eec0dbfe450afb
til_android.py
|
506520732420b196f4f17d67596fd81004faf009 |
21-Dec-2016 |
Luke Drummond <luke.drummond@codeplay.com> |
Update tests to reflect recent changes in lldb upstream and librs - Recent work in lldb upstream has changed the output format for printing resolved breakpoints to not print the function address in case the name is known, and to now return `None` instead of "" in case a command has no output - The recent addition of licence headers to the RenderScript sources in the lldb testsuite has caused upset to tests of breakpoints involving specified file/lines. The copyright headers were introduced in 5bbcc3861c44435f89481f80946ef5c9c49968f2 which broke these tests Test: aosp_x86_64-eng (emulator) rs/tests/lldb - required various other pending CLs Bug: 23535482 Change-Id: Ib65889865ea3d6442e7ee5c909afafee2fe947a0 Signed-off-by: Luke Drummond <luke.drummond@codeplay.com>
ssert_mixins.py
est_base.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
est_base.py
til_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>
ssert_mixins.py
est_base.py
til_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>
S_funs.py
_init__.py
ecorators.py
xception.py
est_base.py
est_base_remote.py
til_android.py
til_bundle.py
til_constants.py
til_functions.py
til_lldb.py
til_log.py
til_timer.py
til_warnings.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>
til_bundle.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>
til_constants.py
til_lldb.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>
S_funs.py
_init__.py
ecorators.py
xception.py
est_base.py
est_base_remote.py
til_android.py
til_bundle.py
til_constants.py
til_functions.py
til_lldb.py
til_log.py
til_timer.py
til_warnings.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
S_funs.py
_init__.py
xception.py
est_base.py
est_base_remote.py
til_android.py
til_bundle.py
til_constants.py
til_functions.py
til_lldb.py
til_log.py
til_timer.py
til_warnings.py
|