Fix the path of results due to the test name change

Review URL: http://codereview.chromium.org/1147005
This commit is contained in:
Tom Wai-Hong Tam 2010-03-22 18:24:52 +08:00
parent 505822a37c
commit f01627b64c

View File

@ -113,9 +113,9 @@ if [ ${FLAGS_manuf} -eq ${FLAGS_TRUE} ]; then
# Try to append the full path to the file if FLAGS_qualdb is a directory # Try to append the full path to the file if FLAGS_qualdb is a directory
if [ ! -z ${FLAGS_qualdb} ] && [ -d ${FLAGS_qualdb} ]; then if [ ! -z ${FLAGS_qualdb} ] && [ -d ${FLAGS_qualdb} ]; then
# TODO(waihong): Handle multiple results to deliver to multiple images # TODO(waihong): Handle multiple results to deliver to multiple images
FLAGS_qualdb="${FLAGS_qualdb}/platform_Components,*" FLAGS_qualdb="${FLAGS_qualdb}/hardware_Components,*"
FLAGS_qualdb=$(ls -dt ${FLAGS_qualdb} 2>&-| head -1) FLAGS_qualdb=$(ls -dt ${FLAGS_qualdb} 2>&-| head -1)
FLAGS_qualdb="${FLAGS_qualdb}/platform_Components/results/system_components" FLAGS_qualdb="${FLAGS_qualdb}/hardware_Components/results/system_components"
fi fi
if [ ! -z ${FLAGS_qualdb} ] && [ -f ${FLAGS_qualdb} ]; then if [ ! -z ${FLAGS_qualdb} ] && [ -f ${FLAGS_qualdb} ]; then