OSDN Git Service

bionic-unit-tests: Create symlinks in runtime
authorDimitry Ivanov <dimitry@google.com>
Mon, 19 Sep 2016 17:50:28 +0000 (10:50 -0700)
committerDimitry Ivanov <dimitry@google.com>
Mon, 10 Oct 2016 11:41:56 +0000 (04:41 -0700)
commit708589f5e8244a17d690848eed5f0fbfcce48a26
treec89c96b86a7248a9e398a00128cd3c4459503a3c
parent1c45e6fa47a2ab9b0b9dc8ab05f75023a8ebbd2d
bionic-unit-tests: Create symlinks in runtime

Instead of creating symlinks in build time and then relying
on usage of adb sync (adb push follows symlinks) - create
them in test run time.

Test: mm && run bionic-unit-tests --gtest_filter=dl*:Dl*
Bug: http://b/22182538
Change-Id: I9d2a873e3ba303533c14ba5e3b779e4a67925462
tests/Android.bp
tests/dlext_test.cpp
tests/dlfcn_symlink_support.cpp [new file with mode: 0644]
tests/dlfcn_symlink_support.h [new file with mode: 0644]
tests/dlfcn_test.cpp
tests/libs/Android.mk