summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-10-28 17:18:41 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-29 03:55:35 +0000
commite589e87b48d0a66bb818a648da9c29fc509896a2 (patch)
tree89867b3794f26ff0d50493bddbbe133b47fce0fc /Makefile.rules
parent718f4bb5e3a806f75b514295b9c9770a9a3b8e6a (diff)
downloadchrome-ec-e589e87b48d0a66bb818a648da9c29fc509896a2.tar.gz
Remove QEMU testsstabilize-4886.B
QEMU tests served us well, but it has been more and more difficult to maintain as we now have more chips and use more functionality from each EC chip. With emulator tests in place to test common code and hardware test to test per-chip/per-board drivers, it's time to remove QEMU tests to simplify our code base. QEMU tests that are covered by other emulator tests are removed completely; tests that are not covered are left alone for now to preserve the test logic. BUG=chrome-os-partner:18343 TEST=util/make_all.sh BRANCH=None Change-Id: I5a4dd2f5ac42f7f66f86fdce0b62dbd2c65bf66a Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/174669 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules9
1 files changed, 1 insertions, 8 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 527e0934ef..c72a229f3f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -39,8 +39,6 @@ cmd_c_to_o = $(CC) $(CFLAGS) -MMD -MF $@.d -c $< -o $@
cmd_c_to_build = $(BUILDCC) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) \
-MMD -MF $@.d $< -o $@
cmd_c_to_host = $(HOSTCC) $(HOST_CFLAGS) -MMD -MF $@.d $(filter %.c, $^) -o $@
-cmd_qemu = ./util/run_qemu_test --image=build/$(BOARD)/$*/$*.bin test/$*.py \
- $(silent)
cmd_host_test = ./util/run_host_test $* $(silent)
cmd_version = ./util/getversion.sh > $@
cmd_mv_from_tmp = mv $(out)/$*.bin.tmp $(out)/$*.bin
@@ -59,8 +57,7 @@ utils: $(build-utils) $(host-utils)
# On board test binaries
test-targets=$(foreach t,$(test-list-y),test-$(t))
-qemu-test-targets=$(foreach t,$(test-list-y),qemu-$(t))
-.PHONY: $(qemu-test-targets) $(test-targets)
+.PHONY: $(test-targets)
$(test-targets): test-%:
@set -e ; \
@@ -69,11 +66,7 @@ $(test-targets): test-%:
V=$(V) out=$(out)/$* TEST_BUILD=y; \
cp $(out)/$*/$*.bin $(out)/test-$*.bin
-$(qemu-test-targets): qemu-%: test-%
- $(call quiet,qemu,TEST )
-
tests: $(test-targets)
-qemu-tests: $(qemu-test-targets)
# Emulator test executables
host-test-targets=$(foreach t,$(test-list-host),host-$(t))