Nico Huber submitted this change.
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>
---
R tests/hwaccess_x86_io_unittest.h
R tests/unittest_env.h
2 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/hwaccess_x86_io_unittest.h b/tests/hwaccess_x86_io_unittest.h
similarity index 100%
rename from hwaccess_x86_io_unittest.h
rename to tests/hwaccess_x86_io_unittest.h
diff --git a/unittest_env.h b/tests/unittest_env.h
similarity index 100%
rename from unittest_env.h
rename to tests/unittest_env.h
To view, visit change 55408. To unsubscribe, or for help writing mail filters, visit settings.