summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-01 02:10:17 +0800
committerChromeBot <chrome-bot@google.com>2013-04-30 16:59:45 -0700
commit24c8610c7f11fcb4c4d37593a5f5475ec8459044 (patch)
tree4fcafd8508f821912e0dc8765daed598f6689886
parent312b884c42f5f6a6177e416f5b812b1556ac195f (diff)
downloadchrome-ec-24c8610c7f11fcb4c4d37593a5f5475ec8459044.tar.gz
Put a copy of test binaries under build/${BOARD}
This puts a copy of test binaries at build/${BOARD}/test-*.bin. This way it is easier for us to get all test binaries. BUG=chrome-os-partner:19057 TEST='make tests' and check build/${BOARD}/test-*.bin BRANCH=None Change-Id: I8394cea6bee95f00fc01d725d2494ca5e222f47d Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/49608 Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r--Makefile.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 9a1f986f35..e9b0a1802c 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -63,7 +63,8 @@ $(test-targets): test-%:
@set -e ; \
echo " BUILD $(out)/$*" ; \
$(MAKE) --no-print-directory BOARD=$(BOARD) PROJECT=$* \
- V=$(V) out=$(out)/$* TEST_BUILD=y
+ V=$(V) out=$(out)/$* TEST_BUILD=y; \
+ cp $(out)/$*/$*.bin $(out)/test-$*.bin
$(qemu-test-targets): qemu-%: test-%
$(call quiet,qemu,TEST )