[riot-commits] [RIOT-OS/RIOT] 19d9d6: tests: fix test_hwtimer_spin

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Wed Apr 23 16:59:57 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 19d9d67f4e0124fcdb5e582cae8fc5b4c17e9e5c
      https://github.com/RIOT-OS/RIOT/commit/19d9d67f4e0124fcdb5e582cae8fc5b4c17e9e5c
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M tests/test_hwtimer_spin/main.c

  Log Message:
  -----------
  tests: fix test_hwtimer_spin

Actually test hwtimer_spin, not hwtimer_arch*

`hwtimer_wait` calls `hwtimer_spin` only for delays `<= 6`, that's why a
pure test_hwtimer_spin test should not pass values `>6`.
Also decrement delay in steps of 1.


  Commit: c52105f69698866a3be4fb8e966c61fca5970fc2
      https://github.com/RIOT-OS/RIOT/commit/c52105f69698866a3be4fb8e966c61fca5970fc2
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    A tests/test_hwtimer_wait/Makefile
    A tests/test_hwtimer_wait/main.c

  Log Message:
  -----------
  tests: add test_hwtimer_wait

It contains the old test functionality of test_hwtimer_spin.


  Commit: 3a7faa4c22f976c54ff406495863b2912f577957
      https://github.com/RIOT-OS/RIOT/commit/3a7faa4c22f976c54ff406495863b2912f577957
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M tests/test_hwtimer_spin/main.c
    A tests/test_hwtimer_wait/Makefile
    A tests/test_hwtimer_wait/main.c

  Log Message:
  -----------
  Merge pull request #1044 from LudwigOrtmann/issue_715

tests: fix test_hwtimer_spin


Compare: https://github.com/RIOT-OS/RIOT/compare/e3acf0835d7c...3a7faa4c22f9


More information about the commits mailing list