Commit Graph

1 Commits

Author SHA1 Message Date
Eric Li
3d13cd1bdb New autotest wrapper script and bash complete support.
A new command line script was introduced in this CL named autotest, which is intend to replace both build_autotest.sh and run_remote_tests.sh in the future.

This change list should be reviewed with
http://codereview.chromium.org/1513006
http://codereview.chromium.org/1595001

all together.

autotest --board x86-generic --build=all will build all client tests.

autotest --board x86-generic --build=unioxbench,ltp will build enlisted client tests.

autotest --board x86-generic -c client/tests/sleeptest/control -m 12.34.56.78 ...

will invoke autoserv inside emerge-x86-generic cross-compiling env, and do a prebuild of the client test before it got pushed onto client host.

you could also:

1. bash complete the directory/file name from autotest directory after -c or -s args.
2. supply any autoserv commandline args transparently.

Note: replace build_autotest.sh/run_remotes_test.sh is only a future plan. When all the three CLs got pushed, no existing use cases should be broken.

I need to change:
1. build_packages script from third_party/chromiumos-overlay/chromeos/scripts/build_packages.
2. add "enable_server_precompile: False " to third_party/autotest/files/global_config.ini

to activate it.

Review URL: http://codereview.chromium.org/1595001
2010-03-31 11:47:22 -07:00