summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-17 12:25:05 +0800
committerChromeBot <chrome-bot@google.com>2013-05-17 09:52:26 -0700
commit26f0e5d1d20da1cd4ffb83c603273b2ac32a670f (patch)
tree7f65bc6ff94894bcf19bf21b1e2ef29cce6aa88c /include
parentce9d7ca9e9408e22f2bbbe2c72e7df3d5cc1cd43 (diff)
downloadchrome-ec-26f0e5d1d20da1cd4ffb83c603273b2ac32a670f.tar.gz
Revert "Revert "Add thermal engine test""
This reverts commit 89e688a3325e91d3c59ac639f04f2c91019c9b10. Time-scaling is added back. We can run this test now. BUG=chrome-os-partner:19236 TEST=Pass the test. BRANCH=None Change-Id: Id3dcec6fc12489f5f0602de91c6560a8dfbef9af Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/51551 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 5ac49537e7..8ee20620db 100644
--- a/include/common.h
+++ b/include/common.h
@@ -77,9 +77,11 @@ enum ec_error_list {
#ifdef TEST_BUILD
#define test_mockable __attribute__((weak))
#define test_mockable_static __attribute__((weak))
+#define test_export_static
#else
#define test_mockable
#define test_mockable_static static
+#define test_export_static static
#endif
#endif /* __CROS_EC_COMMON_H */