Updated sync_build_test to use new unit test script.

I believe it only makes sense to run this for an x86 target but I might be wrong.

Review URL: http://codereview.chromium.org/3082008
This commit is contained in:
Raymes Khoury 2010-08-02 14:49:05 -07:00
parent ec6421c21a
commit d868edc220

View File

@ -535,9 +535,9 @@ function main() {
${jobs_param} ${withdev_param} ${build_autotest_param} \ ${jobs_param} ${withdev_param} ${build_autotest_param} \
${pkg_param} ${pkg_param}
run_phase_in_chroot "Building unit tests" ./build_tests.sh ${board_param}
if [[ "${FLAGS_board}" == "x86-generic" ]]; then if [[ "${FLAGS_board}" == "x86-generic" ]]; then
run_phase_in_chroot "Running unit tests" ./run_tests.sh ${board_param} run_phase_in_chroot "Running unit tests" ./cros_run_unit_tests \
${board_param}
fi fi
fi fi