DescriptionFix server side autotests installing to the wrong directory.
I've added two new constants to global_config.ini: chromeos_client_autodir (default: /mnt/stateful_partition/autotest) and chromeos_client_mount (default: /home/autotest_mount). Autotest will now always create these directories and then mount chromeos_client_autodir at chromeos_client_mount as executable.
A previous change did this for all client tests, but server side tests were over looked. Original CL is at http://codereview.chromium.org/3763007/show . I've merely relocated the code into autotest.py and updated unit tests and surrounding code.
Since the original variable for client installation, client_autodir_paths, has no meaning for us in Chrome OS. I've removed it and ensured there are no dependencies.
Some tests will need modification to work properly as they improperly hard coded the path to the autotest directory instead of querying the autodir variable.
Change-Id: Ic8f9171d14a754d86f38ec882006a4217eab8ec3
BUG=8336
TEST=Ran unit tests. Tested in production; ran bvt, works fine.
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=0b6843a
Patch Set 1 #Patch Set 2 : Comment fixes. #
Total comments: 8
Patch Set 3 : Reworked to minimize churn. #Patch Set 4 : Typos. #
Total comments: 8
Patch Set 5 : Comments! #Patch Set 6 : mkdir -p #Patch Set 7 : Change path back to default. #
Messages
Total messages: 12 (0 generated)
|