zephyr/tests
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
..
application_development tests: cxx: Enable exceptions 2019-09-19 09:26:42 -05:00
arch tests: arm thread swap: increase Idle Stack size for no-opt test-case 2019-10-04 18:49:50 -07:00
benchmarks coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
bluetooth tests: bluetooth: mesh: Fix RAM shortage failure for bbc_microbit 2019-10-04 17:15:39 +02:00
boards tests: rtc: rename test.yaml to testcase.yaml 2019-09-30 17:20:22 -04:00
crypto tests: tinycrypt: build only on native_posix 2019-10-01 10:42:19 -07:00
drivers drivers: sensor: Add TMP116 2019-10-04 15:31:56 -05:00
kernel tests/kernel/mp: Update the MP test to run on emulated platforms 2019-10-06 12:53:28 -04:00
lib tests: gui: Pass image pointer to fs_write 2019-10-02 08:18:16 -04:00
misc/test_build tests: convert util test to a unit test 2019-09-30 07:09:42 -04:00
net tests: net: hostname: Set MAC address properly to all interfaces 2019-10-04 17:42:14 +03:00
portability tests: move cmsis_rtos_v2 into portability 2019-09-27 15:23:26 -04:00
posix tests/posix/common: restructure to eliminate casts 2019-09-15 11:33:47 +08:00
shell tests: Never disable SMP 2019-09-26 16:54:06 -04:00
subsys tests/subsys/settings/functional: make common code a zephyr_library() 2019-10-06 19:03:22 -07:00
unit tests: convert util test to a unit test 2019-09-30 07:09:42 -04:00
ztest subsys/testsuite: make tc_util overridable 2019-09-17 07:11:33 +08:00