From 2857eea2bc6d11c68561366314f0dbefd8a60850 Mon Sep 17 00:00:00 2001 From: Darin Petkov Date: Tue, 26 Jan 2010 17:22:04 -0800 Subject: [PATCH] Export GCLIENT_ROOT from make_autotest so that tests have access to the source/build trees during setup. For example, gl_APICheck requires access to OpenGL headers. Review URL: http://codereview.chromium.org/555111 --- make_autotest.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/make_autotest.sh b/make_autotest.sh index e5af26e552..bf0e521135 100755 --- a/make_autotest.sh +++ b/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