From da945bf33c48fc266c38ceca8479f54cf631276f Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 11 Jan 2017 13:50:00 -0800 Subject: [PATCH] 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 --- tests/test_tree/blueprint | 1 - tests/test_tree_tests.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 120000 tests/test_tree/blueprint 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