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
This commit is contained in:
Colin Cross 2017-01-11 13:50:00 -08:00
parent b431941604
commit da945bf33c
2 changed files with 1 additions and 1 deletions

View file

@ -1 +0,0 @@
../..

View file

@ -14,6 +14,7 @@ mkdir out.test
rm -rf src.test rm -rf src.test
mkdir src.test mkdir src.test
cp -r tests/test_tree src.test/test_tree cp -r tests/test_tree src.test/test_tree
ln -s ../.. src.test/test_tree/blueprint
cd out.test cd out.test
export SRCDIR=../src.test/test_tree export SRCDIR=../src.test/test_tree