[riot-commits] [RIOT-OS/RIOT] 2a24c7: unittests/sht1x: decrease the amount of tested val...

Marian Buschsieweke noreply at github.com
Wed Aug 21 16:03:06 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2a24c7ee2008dc9cda5264df9dfcb4ae69d7880e
      https://github.com/RIOT-OS/RIOT/commit/2a24c7ee2008dc9cda5264df9dfcb4ae69d7880e
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M tests/unittests/tests-sht1x/tests-sht1x.c

  Log Message:
  -----------
  unittests/sht1x: decrease the amount of tested values on board

Reduce the amount of tested values by a 100.
This makes the testing time go from 3 minutes to 2 seconds on
`frdm-kw41z`.

Testing that the integer calculation matches the float one does not need
to be performed on the full range on boards. Checking some values should
be enough to detect overflow issues.
The full range checking is kept on native.


  Commit: 938b36a29c6469cda39ae49b5ed3f1a21f7e314d
      https://github.com/RIOT-OS/RIOT/commit/938b36a29c6469cda39ae49b5ed3f1a21f7e314d
  Author: Marian Buschsieweke <maribu at users.noreply.github.com>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M tests/unittests/tests-sht1x/tests-sht1x.c

  Log Message:
  -----------
  Merge pull request #12054 from cladmi/pr/unittests/sht1x/limit_test_vectors_on_board

unittests/sht1x: decrease the amount of tested values on board


Compare: https://github.com/RIOT-OS/RIOT/compare/83e092e5859b...938b36a29c64


More information about the commits mailing list