From a1f914f54405000e847bfd99f08236735e81df95 Mon Sep 17 00:00:00 2001 From: Chris Sosa Date: Fri, 25 May 2012 10:08:15 -0700 Subject: [PATCH] Deprecate use of mod_image_for_test with a large warning. We'll phase out later. BUG=chromium-os:31183 TEST=Ran it. Change-Id: I7ddf44b661f52ca9186e429ed3955884c4b2cbd4 Reviewed-on: https://gerrit.chromium.org/gerrit/23653 Tested-by: Chris Sosa Reviewed-by: David James Commit-Ready: Chris Sosa --- mod_image_for_test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mod_image_for_test.sh b/mod_image_for_test.sh index 1a6114c5a4..6d72ec1499 100755 --- a/mod_image_for_test.sh +++ b/mod_image_for_test.sh @@ -49,6 +49,10 @@ switch_to_strict_mode . "${BUILD_LIBRARY_DIR}/mount_gpt_util.sh" || exit 1 . "${BUILD_LIBRARY_DIR}/test_image_util.sh" || exit 1 +warn "THIS SCRIPT HAS BEEN DEPRECATED. IT MAY PRODUCE AN UN-BOOTABLE TEST" \ + "IMAGE. TO BUILD A TEST IMAGE, USE build_image [FLAGS] test" + +sleep 5 # No image was provided. Use the standard latest image if [ -z "$FLAGS_image" ]; then