Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(973)

Unified Diff: src/scripts/run_remote_tests.sh

Issue 1097003: Minor bug fix for run_remote_tests (Closed)
Patch Set: update Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/run_remote_tests.sh
diff --git a/src/scripts/run_remote_tests.sh b/src/scripts/run_remote_tests.sh
index f6f44716ff200bc7418f7c3e7d85fcd5c73c1830..19c3b5e9006097173a66830bfb9a088bb40c613b 100755
--- a/src/scripts/run_remote_tests.sh
+++ b/src/scripts/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\* | \
petkov 2010/03/18 23:44:49 What happens when you have multiple control files
egrep "${test_request}")
if [[ -z "${finds}" ]]; then
echo "Can not find match for ${test_request}"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698