diff options
author | Dan Williams <dan.j.williams@intel.com> | 2019-09-04 15:43:31 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-09-07 04:28:05 -0300 |
commit | 62974fc389b364d8af70e044836362222bd3ae53 (patch) | |
tree | c3f67ed59e33874884569ecac499a2052116341c /fs/file.c | |
parent | ba170f76b69d1d45a60eaa9ec920c8fddd4c16f3 (diff) | |
download | linux-62974fc389b364d8af70e044836362222bd3ae53.tar.bz2 |
libnvdimm: Enable unit test infrastructure compile checks
The infrastructure to mock core libnvdimm routines for unit testing
purposes is prone to bitrot relative to refactoring of that core. Arrange
for the unit test core to be built when CONFIG_COMPILE_TEST=y. This does
not result in a functional unit test environment, it is only a helper for
0day to catch unit test build regressions.
Note that there are a few x86isms in the implementation, so this does not
bother compile testing this architectures other than 64-bit x86.
Link: https://lore.kernel.org/r/156763690875.2556198.15786177395425033830.stgit@dwillia2-desk3.amr.corp.intel.com
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions