diff options
| author | Colin Cross <ccross@android.com> | 2017-01-11 13:50:00 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2017-01-11 13:50:58 -0800 |
| commit | da945bf33c48fc266c38ceca8479f54cf631276f (patch) | |
| tree | cc0a882a282cd83262559cfa8c1301529102445b /tests | |
| parent | b431941604410f2bab7101d87e79701fba9c0407 (diff) | |
| download | platform_build_blueprint-da945bf33c48fc266c38ceca8479f54cf631276f.tar.gz platform_build_blueprint-da945bf33c48fc266c38ceca8479f54cf631276f.tar.bz2 platform_build_blueprint-da945bf33c48fc266c38ceca8479f54cf631276f.zip | |
Make symlink during test
The tests/test_tree/blueprint symlink causes find to print a warning
in the Android build:
find: File system loop detected; `./build/blueprint/tests/test_tree/blueprint' is part of the same file system loop as `./build/blueprint'.
Make the symlink when running the test instead.
Change-Id: I52788af7b262f8aa7a00a501f0b50695e469adb1
Diffstat (limited to 'tests')
| l--------- | tests/test_tree/blueprint | 1 | ||||
| -rwxr-xr-x | tests/test_tree_tests.sh | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_tree/blueprint b/tests/test_tree/blueprint deleted file mode 120000 index c25bddb..0000000 --- a/tests/test_tree/blueprint +++ /dev/null @@ -1 +0,0 @@ -../..
\ No newline at end of file diff --git a/tests/test_tree_tests.sh b/tests/test_tree_tests.sh index a269fdf..43f12fc 100755 --- a/tests/test_tree_tests.sh +++ b/tests/test_tree_tests.sh @@ -14,6 +14,7 @@ mkdir out.test rm -rf src.test mkdir src.test cp -r tests/test_tree src.test/test_tree +ln -s ../.. src.test/test_tree/blueprint cd out.test export SRCDIR=../src.test/test_tree |
