Ludwig Ortmann
066d743c35
Merge pull request #943 from Kijewski/issue-943
...
Clean up test_irq
2014-04-19 12:26:53 +02:00
René Kijewski
9a5a8a2452
Add pthread_rwlock test
2014-04-18 16:26:12 +02:00
Martine Lenders
0e4d2909a6
Merge pull request #830 from authmillenon/fix_test_pnet
...
tests: Fix test_pnet
2014-04-17 01:40:27 +02:00
Martin Lenders
4e1da23817
Fix test_pnet
...
fixes #829
2014-04-16 17:44:46 +02:00
Oleg Hahm
3903b8add2
Merge pull request #381 from authmillenon/unittests
...
Unittests via embUnit
2014-04-11 10:17:02 +02:00
Oleg Hahm
f382ce8c65
tests: added README.md for test_float
2014-04-10 21:35:25 +02:00
Martin Lenders
9ce8ab2275
Create unittest application
2014-04-10 15:33:10 +02:00
Martin Lenders
0c6b5ba671
Adapt embunit for RIOT
2014-04-10 15:33:09 +02:00
Martin Lenders
ca75e01105
Import embunit sources
2014-04-10 15:30:16 +02:00
Oleg Hahm
8a86f493b4
Merge pull request #821 from Kijewski/pthrad_cleanup
...
posix: Add pthread_cleanup handlers
2014-04-09 00:19:17 +02:00
René Kijewski
1e75986345
Clean up test_irq ( fix #943 )
2014-04-06 19:29:32 +02:00
René Kijewski
503e95af0b
Add pthread_barrier test
2014-04-06 19:25:15 +02:00
René Kijewski
74804ab979
pthread_cleanup: fixup for #798
2014-04-04 18:03:29 +02:00
René Kijewski
b54962689a
posix: Add pthread_cleanup handlers
...
With `pthread_cleanup_(push|pop)` you can define a function that should
be ran if the thread is exited while it is inside this scope. A thread
can be ended here through an explicit call to `pthread_exit()`, or if
cancellation was requested and a cancellation point was hit.
`pthread_cleanup_*` is mostly only useful together with cancellation
points, and cancellation points are only useful with a cleanup
functionality. Cancellation points are at least partially implemented by
means of `pthread_testcancel()`.
C.f. ["Cancellation Points"][1].
[1]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_05_02
2014-04-04 18:03:29 +02:00
René Kijewski
2e5a2cea0a
Fixup for #798
2014-04-02 14:42:11 +02:00
René Kijewski
34aec1928a
Add DISABLE_MODULE += auto_init to tests
2014-04-02 14:41:17 +02:00
René Kijewski
d22a4a3f44
Add DISABLE_MODULE test
2014-04-01 23:49:22 +02:00
René Kijewski
e740fbc800
make: Add DEFAULT_MODULE and DISABLE_MODULE
...
Closes #926
2014-04-01 23:42:00 +02:00
Martine Lenders
f9d8f1fc75
Merge pull request #798 from Kijewski/usemodule-includes
...
Make: Add include paths automatically for USEMODULES
2014-04-01 17:25:48 +02:00
Kévin Roussel
dea33bd8b6
Merge pull request #909 from OlegHahm/msp430_hwtimer
...
msp430: hwtimer: handle overflow correctly
2014-03-31 15:28:41 +02:00
René Kijewski
de29e4184c
Add include paths automatocally for USEMODULES
...
Application developers use `$(USEMODULES)` in their Makefiles to have
the relevant functionally automagically added to their apps. This even
does basic dependency tracking by means of `Makefile.dep`.
But an important thing is missing: the automatic adding of include
paths. This is inconvenient, error prone, and will hinder the RIOT core
developers in future to change folder structures.
2014-03-29 16:27:55 +01:00
Hauke Petersen
6c591c8a68
tests/pkg: fixed issues from #919
2014-03-26 15:13:23 +01:00
Oleg Hahm
9343c8a04a
test_hwtimer: hwtimer is automatically initialized now
2014-03-26 15:00:56 +01:00
Martine Lenders
53264c7a45
Merge pull request #609 from LudwigOrtmann/transceiver_any
...
anytransceiver pseudomodule
2014-03-24 14:04:02 +01:00
Christian Mehlis
5a44a5bf6d
Merge pull request #817 from kaspar030/tests_msg_sequence
...
tests: add test that shows sequence of received messages
2014-03-19 09:57:32 +01:00
René Kijewski
e073d86845
Merge pull request #877 from Kijewski/shell-utf8
...
shell: fix UTF-8 problem
2014-03-18 11:27:28 +01:00
Ludwig Ortmann
619e94167e
tests/test_pnet: use defaulttransceiver
2014-03-18 10:20:36 +01:00
Ludwig Ortmann
044bfb055a
tests/test_net_if: update BLACKLIST/WHITELIST
2014-03-18 10:20:36 +01:00
Ludwig Ortmann
ad0e338511
tests/test_net_if: use defaulttransceiver
2014-03-18 10:20:36 +01:00
Ludwig Ortmann
5a8d32fa6a
test_hwtimer: print out message explaining test
...
fixes : #791
2014-03-17 10:48:46 +01:00
Oleg Hahm
42e3a3a97f
Merge pull request #845 from mehlis/sem-to-posix
...
posix: move posix semaphore in posix module
2014-03-16 23:39:12 +01:00
Christian Mehlis
374a5376a8
rename test for posix semaphore
2014-03-16 20:00:47 +01:00
René Kijewski
a1df6a86bb
shell: don't ignore IO errors
2014-03-10 13:48:00 +01:00
René Kijewski
3f289760bf
shell: accept UTF8 input
2014-03-10 13:47:33 +01:00
René Kijewski
1098d6f336
Add test if the message queue is fair
2014-03-05 18:33:30 +01:00
Martin Lenders
b11b8f148d
Fix test_net_if
2014-03-04 11:53:31 +01:00
Christian Mehlis
5f56a51606
Merge pull request #849 from Kijewski/issue-844
...
posix: Fix `pthread_mutex_lock()` check in test_pthread_cooperation
2014-03-04 08:36:38 +01:00
René Kijewski
80263b2fc0
Merge pull request #728 from BytesGalore/add_unlock_mutex_and_sleep
...
core:mutex: enable atomic execution of unlock a mutex and sleep for a thread
2014-03-04 01:38:50 +01:00
René Kijewski
f3c90ac4c9
Fix pthread_mutex_lock()
check in test_pthread_cooperation
2014-03-03 22:48:31 +01:00
Martin
35106e3391
add test for mutex_unlock_and_sleep()
2014-03-03 18:48:46 +01:00
Christian Mehlis
63ab4510b3
Merge pull request #820 from Kijewski/expect-sha256
...
tests: Add automatized test for sha256
2014-03-03 18:31:44 +01:00
Christian Mehlis
183262620f
test: added test case for posix sleep
2014-03-03 17:21:48 +01:00
Ludwig Ortmann
9fb3f62201
test_net_if/Makefile remove superfluous includes
2014-03-01 15:48:45 +01:00
Martin Lenders
79a16df7b8
Merge pull request #644 from authmillenon/decouple_network_stack
...
Decouple network stack from transceiver
2014-03-01 15:45:58 +01:00
Martin Lenders
eaa86600b6
Merge pull request #460 from authmillenon/define_ll_ifs
...
Link layer interfaces
2014-03-01 15:44:58 +01:00
Martin Lenders
3a8c1770b1
Fix apps for previous changes
2014-03-01 15:08:19 +01:00
Ludwig Ortmann
3171653e5d
test_shell: fix includes
...
malloc.h is not needed, apply coding conventions to others
2014-03-01 09:55:58 +01:00
Martin Lenders
a5e0e92bb3
Add test cases for net_if module
2014-03-01 00:48:48 +01:00
René Kijewski
07f5ca1b22
Add automatized test for sha256
2014-02-28 19:01:16 +01:00
bcf5050d50
tests: test_shell: call "make term" instead of hardcoded pseudoterm
2014-02-28 17:41:07 +01:00