From 8400a40350be03306193a15949d1767e5e3ac395 Mon Sep 17 00:00:00 2001 From: Ken Mixter Date: Thu, 18 Mar 2010 16:57:07 -0700 Subject: [PATCH] Minor bug fixes for run_remote_tests By default keep around result directories. Also find control* named control files. Review URL: http://codereview.chromium.org/1097003 --- run_remote_tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run_remote_tests.sh b/run_remote_tests.sh index f6f44716ff..19c3b5e900 100755 --- a/run_remote_tests.sh +++ b/run_remote_tests.sh @@ -17,7 +17,7 @@ DEFAULT_OUTPUT_FILE=test-output-$(date '+%Y%m%d.%H%M%S') DEFINE_string build_desc "" "Build description used in database" DEFINE_string chroot "${DEFAULT_CHROOT_DIR}" "alternate chroot location" c -DEFINE_boolean cleanup ${FLAGS_TRUE} "Clean up temp directory" +DEFINE_boolean cleanup ${FLAGS_FALSE} "Clean up temp directory" DEFINE_integer iterations 1 "Iterations to run every top level test" i DEFINE_string machine_desc "" "Machine description used in database" DEFINE_string output_file "${DEFAULT_OUTPUT_FILE}" "Test run output" o @@ -150,7 +150,7 @@ function main() { local search_path=$(echo ${autotest_dir}/{client,server}/{tests,site_tests}) for test_request in $FLAGS_ARGV; do test_request=$(remove_quotes "${test_request}") - ! finds=$(find ${search_path} -type f -name control | \ + ! finds=$(find ${search_path} -type f -name control\* | \ egrep "${test_request}") if [[ -z "${finds}" ]]; then echo "Can not find match for ${test_request}"