zephyr/tests/subsys
Marc Herbert b4282bf72d tests/subsys/settings/functional: make common code a zephyr_library()
Stops leaking very long source paths in build directories; makes them
deterministic.

Besides satisfying a CMake requirement, the new empty_file.c provide a
clue that the actual test code is not in the directory of the test case.

See https://github.com/zephyrproject-rtos/hal_nordic/pull/6 and
https://gitlab.kitware.com/cmake/cmake/issues/19475 for more details.

- Test with a simple:

 sanitycheck -T $ZEPHYR_BASE/tests/subsys/settings/functional/

- Before:

CMakeFiles
├── app.dir
│   ├── HOME
│   │   └── JOHN
│   │       └── zephyrproject
│   │           └── zephyr
│   │               └── tests
│   │                   └── subsys
│   │                       └── settings
│   │                           └── functional
│   │                               └── src
│   │                                   └── settings_basic_test.c.obj

- After:

func_test_bindir/
├── CMakeFiles
│   └── settings_func_test.dir
│       └── settings_basic_test.c.obj
│
├── libsettings_func_test.a

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-10-06 19:03:22 -07:00
..
can/frame tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
debug/tracing tests: tracing: add tests for tracing features 2019-09-27 14:42:22 -04:00
dfu tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
fs samples: move board overlay files into boards directory 2019-10-01 20:38:24 -07:00
jwt cmake: samples/tests: update cmake_minimum_required() to 3.13.1 2019-09-27 23:09:24 -04:00
logging tests/subsys/logging/log_core: increase log buffer size 2019-09-15 11:33:47 +08:00
settings tests/subsys/settings/functional: make common code a zephyr_library() 2019-10-06 19:03:22 -07:00
shell/shell_history shell_history_test: make the test succeed on 64-bit targets 2019-07-04 07:24:56 -04:00
storage/flash_map tests: enable native_posix_64 testing 2019-07-16 10:41:11 -07:00
usb usb: tests: Pass correct lengths to hexdump in usb bos test 2019-09-16 15:33:10 -05:00