mbed-os/TESTS/mbed_platform
Kevin Bracey ff7a316a32 Rework fseek/ftell tests
ARM C library is really good at optimising out calls to underlying
seek. The only ones we were actually detecting in the empty file case
were the ones that the default FileHandle::size() made itself during
the SEEK_END case.

When we implement TestFile::size() directly, we will no longer see
a single seek call from the ARM C library in the empty file case, so
remove those tests.

Beef up the non-empty file case, adding checks that we are making
underlying read+write calls in the correct position, as a proxy for
direct checks for underlying seek being called.
2018-12-14 19:29:27 +02:00
..
CircularBuffer Refactor circular buffer test to platform folder 2018-08-27 09:33:07 -05:00
FileHandle Rework fseek/ftell tests 2018-12-14 19:29:27 +02:00
SharedPtr Add Greentea tests for shared pointer 2018-08-20 18:49:26 +01:00
SingletonPtr Add SingletonPtr test 2017-12-04 11:42:23 +01:00
Stream Tests: Stream: Use a quote from C99 spec 2018-12-10 16:30:16 +01:00
Transaction tests: astyle fix 2018-08-03 10:23:38 +01:00
crash_reporting Removing support for printing error-report after reboot and other minor fixes 2018-11-18 22:42:37 -06:00
critical_section tests: astyle fix 2018-08-03 10:23:38 +01:00
error_handling tests: astyle fix 2018-08-03 10:23:38 +01:00
stats_cpu Clean up Thread deprecation warnings 2018-10-12 14:57:13 +03:00
stats_heap tests: fix astyle 2018-10-25 09:58:17 +01:00
stats_sys ifdef ram/rom size/start in case they dont exist 2018-11-16 09:38:26 -06:00
stats_thread Clean up Thread deprecation warnings 2018-10-12 14:57:13 +03:00
system_reset use forced_reset_timeout as delay after reset 2018-10-02 18:01:08 -05:00