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
493f17a4bf
test_thread_msg_seq: add missing main() return statement
2014-02-28 17:10:53 +01:00
6bc9ad69c3
tests: add test that shows sequence of received messages
2014-02-28 16:13:33 +01:00
Christian Mehlis
5247fa48e1
Merge pull request #756 from josephnoir/add_test_pthread_factorial
...
tests: Add test for pthread
2014-02-26 16:08:45 +01:00
Christian Mehlis
92eaa51f5c
Merge pull request #760 from Kijewski/shell-args
...
shell: Use argc and argv in shell handlers
2014-02-26 15:37:14 +01:00
Raphael Hiesgen
310ac02ad7
Adds test for pthread.
...
The test uses pthread to calculate the factorial of 12, with one
thread for each multiplication. pthread_mutex is used for synchronization.
2014-02-26 13:52:08 +01:00
Ludwig Ortmann
23bccdf247
remove hwtimer from test_irq
2014-02-26 10:17:17 +01:00
Christian Mehlis
6f76a4c592
Merge pull request #757 from josephnoir/add_test_thread_factorial
...
tests: Add test for riot thread
2014-02-26 09:21:40 +01:00
Christian Mehlis
17b534619c
Merge pull request #780 from mehlis/fix-bloom-test
...
test: fix bloom filter test
2014-02-26 09:13:13 +01:00
localadmin
0b8d5cf973
Adds test for riot threads.
...
The test uses riot threads to calculate the factorial of 12,
with one thread for each multiplication. The core mutex is
used for synchronization.
2014-02-25 21:58:56 +01:00
René Kijewski
829966ee32
Print error message on any quoting error
2014-02-25 17:54:17 +01:00
Christian Mehlis
e2c3f668bf
test: fix bloom filter test
2014-02-25 09:06:19 +01:00
Oleg Hahm
93e32953b3
always build and initialize hwtimer
...
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
2014-02-24 18:36:28 +01:00
Ludwig Ortmann
9c0fc3b1e2
Merge pull request #759 from LudwigOrtmann/tests_makefile
...
add Makefile.tests_common
2014-02-24 16:47:31 +01:00
Christian Mehlis
668c29ca52
Merge pull request #763 from LudwigOrtmann/issue_717
...
move global char array out of thread
2014-02-22 18:18:53 +01:00
Ludwig Ortmann
af7a15b3f0
move global char array out of thread
...
The char msg[] is accessed from outside the main thread after it has
exited, so it needs to outlive it.
Fixes #717
2014-02-22 13:28:21 +01:00
Ludwig Ortmann
d676cd328b
remove debug target from test_nativenet
...
It conflicts with an existing debug target
2014-02-22 10:05:23 +01:00
Ludwig Ortmann
983dabe73f
remove USEMODULE comments and some whitespace
2014-02-22 10:04:41 +01:00
Christian Mehlis
1e11aca209
test: added missing license
2014-02-21 21:51:29 +01:00
Ludwig Ortmann
982eecd3a6
add Makefile.tests_common
...
Contains common variables for all test Makefiles.
Include from test Makefiles.
2014-02-21 19:08:48 +01:00
Christian Mehlis
e865022a31
pthread: initial add
2014-02-19 23:39:38 +01:00
Christian Mehlis
cb9c5d00de
repace project by application in documentation
2014-02-18 12:28:32 +01:00
Oleg Hahm
6c0482b976
Merge pull request #701 from Kijewski/issue-672
...
Use `filter` instead of `findstring`
2014-02-16 12:33:29 +01:00
René Kijewski
102dc45382
Eliminate findstring in more places
2014-02-14 14:30:16 +01:00
Ludwig Ortmann
8ce1fdde11
fix test_irq Makefile
...
closes #696
2014-02-13 23:39:21 +01:00
Lotte Steenbrink
8812745b02
added two test cases for issue #100
...
test_thread_msg_block_w_queue:
demonstrates the behaviour described in issue #100
and that it is solved by PR #569
test_thread_msg_block_wo_queue:
demonstrates behaviour similar to the above but without
a messge queue. This works with the current master, but
breaks with PR #569
2014-02-13 13:25:45 +00:00
Ludwig Ortmann
b175dbee91
update Makefiles to point to all-valgrind target
...
Header path knowledge is not necessary anymore
2014-02-11 19:22:40 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Ludwig Ortmann
1c9d4f8720
remove stale cc110x_ng includes
2014-02-07 19:22:27 +01:00
Ludwig Ortmann
b6c8ceb57c
update test_shell/ReadMe.txt
2014-02-06 12:34:59 +01:00
Ludwig Ortmann
8815d22390
remove superfluous uart USEMODULEs from test
2014-02-06 12:34:59 +01:00
Christian Mehlis
55c84d95b6
added LGPL header and doxygen headers
2014-02-04 12:52:52 +01:00
Ludwig Ortmann
ef54fa4016
Merge pull request #567 from mehlis/tests-astyle
...
tests: use astyle to adopt current code style guide
2014-01-29 07:51:02 -08:00
Christian Mehlis
97133b9dfb
use one consistent mail address in all places
2014-01-27 20:46:45 +01:00
Christian Mehlis
66e7762630
tests: use astyle to adopt current code style guide
2014-01-25 11:29:35 +01:00
Ludwig Ortmann
9d55fde052
increase inter-timer delay
2014-01-22 21:32:09 +01:00
Ludwig Ortmann
de3f8a1ae5
improve test_hwtimer usefulness
...
make the delays noticeable for humans
use HWTIMER_TICKS macro for platform independency
2014-01-22 20:14:18 +01:00
Oleg Hahm
763fc6b84f
Merge pull request #510 from mehlis/test_vtimer_msg
...
added vtimer test case
2014-01-20 03:08:46 -08:00
Martin Lenders
82af516691
Add pnet tests
2014-01-17 14:40:57 +01:00
Christian Mehlis
86f21d8880
added vtimer test case
2014-01-15 18:37:12 +01:00
Oleg Hahm
cd4446023e
increase wait period
...
otherwise the loop won't run
(proposed by @LudwigOrtmann)
2014-01-14 17:46:20 +01:00
Oleg Hahm
5dcf64d9de
imported test projects (from projects repository)
2014-01-10 16:21:35 +01:00