summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-06-11 16:07:33 +1000
committerNico Huber <nico.h@gmx.de>2021-06-22 20:58:40 +0000
commitd3e778f8ab1694d9c93c2c290fdcd8929c7151f9 (patch)
treec46c43a9d4c9488ab02d3e0e9210204106dff096
parentf9f9c9d2c618c494f0d8ba9f4a1da4aea725d003 (diff)
downloadflashrom-d3e778f8ab1694d9c93c2c290fdcd8929c7151f9.tar.gz
flashrom-d3e778f8ab1694d9c93c2c290fdcd8929c7151f9.tar.bz2
flashrom-d3e778f8ab1694d9c93c2c290fdcd8929c7151f9.zip
tests: Move test environment header files into tests directory
Both of these headers are only used in test builds, so they should live in tests/ directory. No changes to meson.build and tests/meson.build files are needed because tests/meson.build adds current directory to search for include files. BUG=b:181803212 TEST=ninja test -> all tests pass nm builddir/tests/flashrom_unit_tests.p/.._it85spi.c.o -> has symbols _test_calloc, _test_free, test_inb, test_outb nm builddir/flashrom.p/it85spi.c.o -> has symbols calloc free inb outb Change-Id: Ia42773b98b1eb6c65241aa559c0c8b4926bd0814 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55408 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--tests/hwaccess_x86_io_unittest.h (renamed from hwaccess_x86_io_unittest.h)0
-rw-r--r--tests/unittest_env.h (renamed from unittest_env.h)0
2 files changed, 0 insertions, 0 deletions
diff --git a/hwaccess_x86_io_unittest.h b/tests/hwaccess_x86_io_unittest.h
index 7bffc963a..7bffc963a 100644
--- a/hwaccess_x86_io_unittest.h
+++ b/tests/hwaccess_x86_io_unittest.h
diff --git a/unittest_env.h b/tests/unittest_env.h
index 9bd7509c9..9bd7509c9 100644
--- a/unittest_env.h
+++ b/tests/unittest_env.h