summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-07-25 11:21:30 -0700
committerChromeBot <chrome-bot@google.com>2013-07-25 15:50:12 -0700
commit4231660869f6b282c5a589abb22e98681c052929 (patch)
treef04ebd59bf0a53d70107e9564115600a169ec2df /test
parent1960b9f9575e3c8cb5eee999b56cdb8a558e7afc (diff)
downloadchrome-ec-4231660869f6b282c5a589abb22e98681c052929.tar.gz
Change macro names used for test configurations
We can't change CONFIG_ options from the gcc commandline, because include/configs.h explicitly undefs them again. So for some tests, we add a -DFOO to the command line and then put this in the source: This change just uses TEST_FOO instead of FOO, so it's more obvious what's happening. BUG=chrome-os-partner:20739 BRANCH=falco,peppy TEST=manual No functional change, just renaming. Run make BOARD=${BOARD} runtests Everything should still pass. Change-Id: I17e10180f8d779dff0961cf411f5b61cfc70c316 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63371 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'test')
-rw-r--r--test/test_config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_config.mk b/test/test_config.mk
index 9837c0fe01..47cf63c64a 100644
--- a/test/test_config.mk
+++ b/test/test_config.mk
@@ -6,5 +6,5 @@
# per-test configuration
#
-CFLAGS-kb_8042=-DKB_8042
-CFLAGS-sbs_charging=-DSMART_BATTERY_CHARGER
+CFLAGS-kb_8042=-DTEST_KB_8042
+CFLAGS-sbs_charging=-DTEST_SMART_BATTERY_CHARGER