aboutsummaryrefslogtreecommitdiff
path: root/binary_search_tool/common
diff options
context:
space:
mode:
authorCassidy Burden <cburden@google.com>2016-08-08 10:27:34 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-09 13:06:54 -0700
commita5e3929d7a155606bc541777fc84e4989389e13c (patch)
treee0f2e69f8714c76899c9c3281f0cded309457e1f /binary_search_tool/common
parentd0b69bedbb9eb087ab231adbbe3af1ba26a945a3 (diff)
downloadtoolchain-utils-a5e3929d7a155606bc541777fc84e4989389e13c.tar.gz
binary search tool: Rename install to test_setup
Refactor warning! Rename install script to be test_setup script. TEST=Run unit tests Change-Id: Iab7e01136fdcf2dedbfc94ece6ddb4b4fa3c0f68 Reviewed-on: https://chrome-internal-review.googlesource.com/273484 Commit-Ready: Cassidy Burden <cburden@google.com> Tested-by: Cassidy Burden <cburden@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'binary_search_tool/common')
-rwxr-xr-xbinary_search_tool/common/boot_test.sh8
-rwxr-xr-xbinary_search_tool/common/hash_test.sh2
-rwxr-xr-xbinary_search_tool/common/interactive_test.sh2
-rwxr-xr-xbinary_search_tool/common/test_setup.sh (renamed from binary_search_tool/common/install.sh)4
4 files changed, 8 insertions, 8 deletions
diff --git a/binary_search_tool/common/boot_test.sh b/binary_search_tool/common/boot_test.sh
index 2681f561..8f6d9a7d 100755
--- a/binary_search_tool/common/boot_test.sh
+++ b/binary_search_tool/common/boot_test.sh
@@ -6,10 +6,10 @@
#
# This script is intended to be used by binary_search_state.py, as
# part of the binary search triage on ChromeOS package and object files.
-# It waits for the install script to build and install the image, then pings the
-# machine. It should return '0' if the test succeeds (the image booted); '1' if
-# the test fails (the image did not boot); and '125' if it could not determine
-# (does not apply in this case).
+# It waits for the test setup script to build and install the image, then pings
+# the machine. It should return '0' if the test succeeds (the image booted); '1'
+# if the test fails (the image did not boot); and '125' if it could not
+# determine (does not apply in this case).
#
source common/common.sh
diff --git a/binary_search_tool/common/hash_test.sh b/binary_search_tool/common/hash_test.sh
index 741f4237..5450988e 100755
--- a/binary_search_tool/common/hash_test.sh
+++ b/binary_search_tool/common/hash_test.sh
@@ -4,7 +4,7 @@
#
# This script is intended to be used by binary_search_state.py. It is to
# be used for testing/development of the binary search triage tool
-# itself. It waits for the install script to build and install the
+# itself. It waits for the test setup script to build and install the
# image, then checks the hashes in the provided file.
# If the real hashes match the checksum hashes, then the image is 'good',
# otherwise it is 'bad'. This allows the rest of the bisecting tool
diff --git a/binary_search_tool/common/interactive_test.sh b/binary_search_tool/common/interactive_test.sh
index a52bd2ee..8773dd12 100755
--- a/binary_search_tool/common/interactive_test.sh
+++ b/binary_search_tool/common/interactive_test.sh
@@ -8,7 +8,7 @@
#
# This script is intended to be used by binary_search_state.py, as
# part of the binary search triage on ChromeOS package and object files. It
-# waits for the install script to build and install the image, then asks the
+# waits for the test setup script to build and install the image, then asks the
# user if the image is good or not. It should return '0' if the test succeeds
# (the image is 'good'); '1' if the test fails (the image is 'bad'); and '125'
# if it could not determine (does not apply in this case).
diff --git a/binary_search_tool/common/install.sh b/binary_search_tool/common/test_setup.sh
index f1aff40c..7aae9c9c 100755
--- a/binary_search_tool/common/install.sh
+++ b/binary_search_tool/common/test_setup.sh
@@ -2,7 +2,7 @@
#
# Copyright 2016 Google Inc. All Rights Reserved.
#
-# This is a generic ChromeOS package/image installation script. It is meant to
+# This is a generic ChromeOS package/image test setup script. It is meant to
# be used for either the object file or package bisection tools. This script
# does one of the following depending on what ${BISECT_MODE} is set to:
#
@@ -20,7 +20,7 @@
#
# This script is intended to be used by binary_search_state.py, as
# part of the binary search triage on ChromeOS objects and packages. It should
-# return '0' if the install succeeds; and '1' if the install fails (the image
+# return '0' if the setup succeeds; and '1' if the setup fails (the image
# could not build or be flashed).
#