zephyr/tests
Andy Ross c0630346c8 Revert "tests: tickless_concept: Fix slicing time measurement"
Unfortunately this seems to have introduced spurious failures on (at
least) qemu_x86 and qemu_xtensa.

The change limits the timeslice tolerance to +/- 1ms, which isn't
necessarily correct when the tick rate is less than 1ms (though it
will probably work on deterministic hardware as long as the system is
hitting the target at exactly the right tick), and isn't even
theoretically achievable on emulation environments where timing
granularity is limited by the host scheduling quantum.

What this needs to do is check the deadline is off by at most one
tick, and trust the platform integration to have set the tick rate
appropriately.

(I do worry that the earlier version of the test was trying to set the
limit at half the TICKLESS_IDLE_THRESHOLD, though -- that seems weird,
and hints that maybe the test is trying to do something more
elaborate?)

Fixes #17063.

This reverts commit 62c71dc4d8.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-06-26 09:59:47 +02:00
..
application_development style: samples/tests: add braces around if/while statements 2019-06-06 15:20:21 +02:00
benchmarks docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
bluetooth Bluetooth: tests: Add tests for GATT 2019-06-24 22:36:59 +02:00
boards dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
booting/stub license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cmsis_rtos_v1 tests: cmsis_rtos_v1: remove cast abuses 2019-06-01 10:21:13 -04:00
cmsis_rtos_v2 lib: cmsis_v2: set default dynamic stack size 2019-05-02 15:42:33 -04:00
crypto tests: mbedtls: Call mbedtls_platform_set_printf() only if needed 2019-05-23 09:27:59 -04:00
drivers boards/x86/quark_d2000_crb: drop support for Quark D2000 dev board 2019-06-25 08:06:43 -04:00
kernel Revert "tests: tickless_concept: Fix slicing time measurement" 2019-06-26 09:59:47 +02:00
lib docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
misc license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
net net: ptp: clock: Add usermode support to ptp_clock_get() 2019-06-25 15:22:51 +03:00
posix sanitycheck: CONFIG_TEST_USERSPACE / userspace tag cleanup 2019-05-30 08:45:39 -04:00
shell shell: add test for new built-in command 2019-05-24 11:04:42 +02:00
subsys boards/x86/quark_d2000_crb: drop support for Quark D2000 dev board 2019-06-25 08:06:43 -04:00
unit misc: Always test the portable version of the math_extras.h functions. 2019-05-14 19:53:30 -05:00
ztest subsys/testsuite/ztest: change zassert_mem_equal to macro 2019-06-03 09:39:37 -04:00