summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNam T. Nguyen <namnguyen@chromium.org>2014-06-13 09:26:27 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-07-09 20:29:43 +0000
commitf381636a045275edeb7991bf36ac4f8b423c51a1 (patch)
tree7b4013ecf615f131f33b793d3cb3e79c4089cf1a /bin
parent3bf7b6e9a829db65656b6c18302afb6c38e0f1b7 (diff)
downloadchromite-f381636a045275edeb7991bf36ac4f8b423c51a1.tar.gz
chromite: Add ImageTestStage to run tests on built image.
This stage is run in parallel to other stages after BuildImageStage. It will launch test_image outside the chroot. This stage is forgiving. Tests live in chromite/cros/tests/image_test.py. BUG=chromium:382708 BUG=chromium:385355 TEST=unittest TEST=test_image path/to/image_dir TEST=test_image path/to/chromium_image.bin TEST=cbuildbot --local amd64-generic-asan --nobootstrap --noreexec \ --nouprev --nobuild --noclean --notests Make sure that ImageTestStage is launched. Change-Id: Ia9f1123f9c533ad70a0091ee943d21cddc577ef0 Reviewed-on: https://chromium-review.googlesource.com/203698 Reviewed-by: Aviv Keshet <akeshet@chromium.org> Reviewed-by: Don Garrett <dgarrett@chromium.org> Commit-Queue: Nam Nguyen <namnguyen@chromium.org> Tested-by: Nam Nguyen <namnguyen@chromium.org>
Diffstat (limited to 'bin')
l---------bin/test_image1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/test_image b/bin/test_image
new file mode 120000
index 000000000..72196ceea
--- /dev/null
+++ b/bin/test_image
@@ -0,0 +1 @@
+../scripts/wrapper.py \ No newline at end of file