Index: src/scripts/make_autotest.sh |
diff --git a/src/scripts/make_autotest.sh b/src/scripts/make_autotest.sh |
index e5af26e552dae2107aafe7c1cc68881e9400aa1f..bf0e521135cf0778dd29ad9582390167f1610553 100755 |
--- a/src/scripts/make_autotest.sh |
+++ b/src/scripts/make_autotest.sh |
@@ -9,9 +9,9 @@ |
# client tests in the build environment, since client systems under |
# test lack the proper toolchain. |
# |
-# The user can enter_chroot later and run autotest against an ssh |
-# enabled test client system, or install the compiled client tests |
-# directly onto the rootfs image, using mod_image_for_test. |
+# The user can later run autotest against an ssh enabled test client system, or |
+# install the compiled client tests directly onto the rootfs image, using |
+# mod_image_for_test.sh. |
. "$(dirname "$0")/common.sh" |
@@ -57,5 +57,8 @@ cd ${AUTOTEST_DEST} |
touchInitPy client/tests client/site_tests |
touch __init__.py |
+# Export GCLIENT_ROOT so that tests have access to the source and build trees |
+export GCLIENT_ROOT |
+ |
# run the magic test setup script. |
client/bin/autotest client/site_tests/setup/control |