mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 06:21:46 +01:00
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
This commit is contained in:
parent
8dcd981bbf
commit
da36382f03
@ -43,9 +43,9 @@ date >>/var/log/factory.log
|
|||||||
if [ ! -e factory_started ]; then
|
if [ ! -e factory_started ]; then
|
||||||
touch factory_started
|
touch factory_started
|
||||||
cp -f site_tests/suite_Factory/control .
|
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
|
else
|
||||||
./tools/autotest >>/var/log/factory.log 2>&1
|
./bin/autotest -t factory -c control >>/var/log/factory.log 2>&1
|
||||||
fi
|
fi
|
||||||
end script
|
end script
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user