mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 14:06:58 +02:00
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
This commit is contained in:
parent
c7e05719c5
commit
2857eea2bc
@ -9,9 +9,9 @@
|
|||||||
# client tests in the build environment, since client systems under
|
# client tests in the build environment, since client systems under
|
||||||
# test lack the proper toolchain.
|
# test lack the proper toolchain.
|
||||||
#
|
#
|
||||||
# The user can enter_chroot later and run autotest against an ssh
|
# The user can later run autotest against an ssh enabled test client system, or
|
||||||
# enabled test client system, or install the compiled client tests
|
# install the compiled client tests directly onto the rootfs image, using
|
||||||
# directly onto the rootfs image, using mod_image_for_test.
|
# mod_image_for_test.sh.
|
||||||
|
|
||||||
. "$(dirname "$0")/common.sh"
|
. "$(dirname "$0")/common.sh"
|
||||||
|
|
||||||
@ -57,5 +57,8 @@ cd ${AUTOTEST_DEST}
|
|||||||
touchInitPy client/tests client/site_tests
|
touchInitPy client/tests client/site_tests
|
||||||
touch __init__.py
|
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.
|
# run the magic test setup script.
|
||||||
client/bin/autotest client/site_tests/setup/control
|
client/bin/autotest client/site_tests/setup/control
|
||||||
|
Loading…
Reference in New Issue
Block a user