autotest_quick_merge: Follow the symlink
Follow the symlink in the quickmerge step.
BUG=chromium:832564
TEST=autotest_quickmerge_unittest
=test_that --board=eve-arcnext cheets_ClipboardTest_P
=check /build/eve-arcnext/usr/local/build/autotest/client/site_tests/cheets_ClipboardTest_P
Change-Id: If8cfaee5f23e54c743e9c58cef4f8b68195df6df
Reviewed-on: https://chromium-review.googlesource.com/1012749
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Trybot-Ready: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
diff --git a/scripts/autotest_quickmerge.py b/scripts/autotest_quickmerge.py
index 28dcb64..0dc99d2 100644
--- a/scripts/autotest_quickmerge.py
+++ b/scripts/autotest_quickmerge.py
@@ -286,6 +286,9 @@
command += ['--exclude=*']
+ # Some tests use symlinks. Follow these.
+ command += ['-L']
+
command += [source_path, sysroot_autotest_path]
return cros_build_lib.SudoRunCommand(command, redirect_stdout=True)