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

Unified Diff: src/scripts/autotest

Issue 1595001: New autotest wrapper script and bash complete support. (Closed)
Patch Set: patch 6 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 | src/scripts/autotest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/autotest
diff --git a/src/scripts/autotest b/src/scripts/autotest
new file mode 100755
index 0000000000000000000000000000000000000000..2838a339757a710341a85c32afb3a30aea7f24e3
--- /dev/null
+++ b/src/scripts/autotest
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This script is a shell wrapper of autotest.py inside a chroot environment.
+# Note you should/could not directly call autotest.py within the same directory.
+
+. "$(dirname $0)/common.sh"
+
+# Script must be run inside the chroot
+assert_inside_chroot
+
+SSH_KEY=$(dirname $0)/mod_for_test_scripts/ssh_keys/testing_rsa
+chmod 400 ${SSH_KEY}
+export GCLIENT_ROOT
+python $(dirname $0)/autotest.py $@ || die "autotest failed."
+
« no previous file with comments | « no previous file | src/scripts/autotest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698