From da36382f032e857db155f796a371888cbd84e0c1 Mon Sep 17 00:00:00 2001 From: Hung-Te Lin Date: Wed, 16 Feb 2011 18:37:03 +0800 Subject: [PATCH] crosutils: let factory test uses its own results folder The factory tests should not use default results folder, otherwise a developer running autotests by command line would corrupt the whole factory test framework. Since tools/autotest cannot support additional parameters and our state (to continue) is clear, the command is also changed to directly invoke bin/autotest. BUG=chrome-os-partner:2378 TEST=manually patched into a factory test device and verified factory UI works at new boot and a reboot. Change-Id: I9f6ef31114bdda740319072c6f9ac624f6850b95 Review URL: http://codereview.chromium.org/6529046 --- mod_for_factory_scripts/200patchInitScript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_for_factory_scripts/200patchInitScript b/mod_for_factory_scripts/200patchInitScript index 0244f74533..5273054599 100755 --- a/mod_for_factory_scripts/200patchInitScript +++ b/mod_for_factory_scripts/200patchInitScript @@ -43,9 +43,9 @@ date >>/var/log/factory.log if [ ! -e factory_started ]; then touch factory_started cp -f site_tests/suite_Factory/control . - ./bin/autotest control >>/var/log/factory.log 2>&1 + ./bin/autotest -t factory control >>/var/log/factory.log 2>&1 else - ./tools/autotest >>/var/log/factory.log 2>&1 + ./bin/autotest -t factory -c control >>/var/log/factory.log 2>&1 fi end script EOF