summaryrefslogtreecommitdiff
path: root/tests/device/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/device/Makefile.inc')
-rw-r--r--tests/device/Makefile.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/device/Makefile.inc b/tests/device/Makefile.inc
new file mode 100644
index 0000000000..f23e72fa32
--- /dev/null
+++ b/tests/device/Makefile.inc
@@ -0,0 +1,18 @@
+##
+## This file is part of the coreboot project.
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+
+tests-y += i2c-test
+
+i2c-test-srcs += tests/device/i2c-test.c
+i2c-test-srcs += src/device/i2c.c
+i2c-test-mocks += platform_i2c_transfer