Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: d324b9de12c510ccf9fa1c1b6ece327c578ee53d https://github.com/Linaro/odp/commit/d324b9de12c510ccf9fa1c1b6ece327c578ee53d Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018)
Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: remove doxygen tags Doxygen documentation is not generated from validation test files. Remove partial and unnecessary doxygen tags. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0d4271e31fe685a8a82381d21d5166f0398080c1 https://github.com/Linaro/odp/commit/0d4271e31fe685a8a82381d21d5166f0398080c1 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: check user pointer once Code clean up: check only once that user pointer is not NULL. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 3aa3f4352083d159260cebc23b87607e73aa6f2b https://github.com/Linaro/odp/commit/3aa3f4352083d159260cebc23b87607e73aa6f2b Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: tick conversion may lose precision Tick <-> nsec conversion may include rounding and thus loss of precision. For example, when tick frequency is higher than 1GHz conversion to nsec lose precision by definition. Modified test to convert nsec -> tick -> nsec and allow resolution level diffrence between nsec values. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 5d4be5077adeec54d1956c86dcb87b186c39a7cb https://github.com/Linaro/odp/commit/5d4be5077adeec54d1956c86dcb87b186c39a7cb Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: don't assume low timer tick frequency Timer tick can be the same as CPU frequency. So, test cannot loop until two current_tick calls return the same tick value. Similarly, test cannot assume that expiration tick of a relative timeout call can be exactly calculated from a current_tick value. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 0e24607e3075a573ebe4ac408703c76daac7236c https://github.com/Linaro/odp/commit/0e24607e3075a573ebe4ac408703c76daac7236c Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: add plain and sched queue tests Added simple timeout delivery tests for plain and scheduled queues. Current "timer_all" test is complex and tests only plain queues. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: fec701841dbe2e963cf3adc7c74c98b41e059b9d https://github.com/Linaro/odp/commit/fec701841dbe2e963cf3adc7c74c98b41e059b9d Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: fix timer_all test sync issue When timer is reset, odp_timer_set_rel() outputs the previous event handle (not ODP_EVENT_INVALID as in case of set). Test case 'timer_all' maintain test status in the event handle variable. Set the variable always to EVENT_INVALID so that both set and reset cases work the same way. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Commit: 93591a6134fbc5655c0cf6a25e0b4e0668357971 https://github.com/Linaro/odp/commit/93591a6134fbc5655c0cf6a25e0b4e0668357971 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2018-04-23 (Mon, 23 Apr 2018) Changed paths: M test/validation/api/timer/timer.c Log Message: ----------- validation: timer: honor min timeout param value Timeout requests should be between min_tmo and max_tmo timer pool parameters, if too early/too late return codes are reported as test failures. Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> Compare: https://github.com/Linaro/odp/compare/e828b4d6f503...93591a6134fb