summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/DebugData.cpp
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-09-19 09:48:07 +0900
committerElliott Hughes <enh@google.com>2017-10-03 15:03:44 -0700
commit41704cdf615eab4318539da0f0c03f443d2d89c7 (patch)
tree49bc8590a6928047b99f9e2fc859a4fedb63e253 /libc/malloc_debug/DebugData.cpp
parent48fbf91672d096bdec664374d16d65488b77251c (diff)
Don't run exec_with_ld_config_file* tests on non-production devices
The tests that use LD_CONFIG_FILE environment variable shouldn't be run on non-production devices because LD_CONFIG_FILE is only for debuggable builds. We have used the build-time flag USE_LD_CONFIG_FILE, which is set for the debuggable builds, to conditionally include or exclude the tests. However, this can be a problem when 1) the device is not debuggable but 2) the CTS itself is built with debuggable target. So, instead of relying on the build-time flag USE_LD_CONFIG_FILE, the tests now check the debuggability of the device and skip the tests when it isn't debuggable. Bug: 65842135 Test: 1) flash user build image to a 2017 pixel device. 2) build cts with 'userdebug' build target 3) CtsBionicTestCases pass on the device (cherrypick of 5e3d44100be32fd5efffd0c309bd90c04cc9620c.) Change-Id: Ib88e3b26d093e5479d52cd87db47dee5e108cac2
Diffstat (limited to 'libc/malloc_debug/DebugData.cpp')
0 files changed, 0 insertions, 0 deletions