Commit Graph

1585 Commits (084db19107aafe084cf6ff0d8d3e950a82303b9a)

Author SHA1 Message Date
Martine Lenders 0ee8758422 tests: nativenet: Add README.md 9 years ago
Martine Lenders c1971fb5a9 tests: nativenet: Add return for radio thread 9 years ago
Ludwig Ortmann 3d611679ee Merge pull request #1599 from LudwigOrtmann/issue-1597
sys/cbor,tests: fix cbor daylight saving time
9 years ago
Martine Lenders 5bad5a0fda unittests: Fix coding conventions 9 years ago
Martine Lenders 2709d95e1a unittests: Fix -Wunused-parameter warnings 9 years ago
Martine Lenders 4960c57153 unittests: Fix -Waddress warnings 9 years ago
Ludwig Ortmann 40a81e4f4c tests: fix cbor unittest
Some member of `struct tm val` were not set, resulting in undefined
behavior.
9 years ago
Ludwig Ortmann ea26ebbaa9 tests: fix lifo unittest
The API was violated resulting in an array overrun.
9 years ago
Martine Lenders 93cff41607 tests: Add expect script for nativenet tests 9 years ago
Ludwig Ortmann b7992922ce fix license headers in non-.c files 9 years ago
Hauke Petersen addfaefe8a Merge pull request #1598 from haukepetersen/add_nrf_rtt
cpu/board: added RTT driver for NRF51822
9 years ago
Hauke Petersen 9fb37be0aa tests/periph_rtt: added test for RTT drivers 9 years ago
René Kijewski eaed2f1b89 Merge pull request #1594 from authmillenon/unittests-no-auto-init
unittests: do not use auto_init
9 years ago
Martine Lenders 2bbe92a75a tests: Fix tests that were defect
* I used pexpect instead of when expect script was not working expect, since
  TCL confuses me
* I deleted the thread_exit test since it was completely invalid
9 years ago
René Kijewski 27e393621a core: clist is a cyclic list 9 years ago
Martine Lenders b1035acc98 unittests: do not use auto_init 9 years ago
Hauke Petersen 8f75521bc8 test/periph_random: added test for RNG driver 9 years ago
René Kijewski 89a26b7331 Merge pull request #1562 from Kijewski/the-first-two-commits-of-the-branch-issue-198
posix: minor pthread_barrier clean up
9 years ago
Hauke Petersen 9da0abc14d tests/periph_gpio: added test cases for GPIO driver 9 years ago
René Kijewski 46c669f455 tests: clean up test_pthread_barrier Makefile 9 years ago
Hauke Petersen 477bc5a73d tests/periph_uart: added two UART driver tests
- test for UART driver in blocking mode
- test for UART driver in interrupt driven mode
9 years ago
Oleg Hahm 1de5c2b4a0 fixed remaining variables to kernel_pid_t 9 years ago
Oleg Hahm 2e396af248 tests: combine declaration and definition 9 years ago
Oleg Hahm 0ad7b170ed make kernel_pid_t comparisons consistent 9 years ago
Oleg Hahm aa2ecf6216 initialize kernel_pid_t correctly 9 years ago
Hauke Petersen b0d3a55989 tests: added test for low-level PWM driver 9 years ago
Oleg Hahm 6c2b2cea61 Merge pull request #1415 from krf/cbor
cbor: CBOR implementation for RIOT-OS (SWP)
9 years ago
Kevin Funk e8141ca5d8 cbor: CBOR implementation for RIOT-OS
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.

This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.

The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t

It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
9 years ago
René Kijewski c5ac8332de "tests": print tcb_t size
The "test" should aid #303.
9 years ago
Ludwig Ortmann 3912e5e632 Merge pull request #1529 from LudwigOrtmann/cpuid_fixup
tests, native: fixup for cpuid
9 years ago
Ludwig Ortmann 4c6ba818ed Merge pull request #1534 from LudwigOrtmann/queue-cleanup-two
core/queue: queue -> priority_queue && dynamic initializers
9 years ago
Ludwig Ortmann 1efdf99dfe core/priority_queue: add dynamic initializers
- priority_queue_init
- priority_queue_node_init
9 years ago
Ludwig Ortmann c2b2e4554b core/queue: queue -> priority_queue
Rename queue to priority queue, because that's what it is.
9 years ago
Ludwig Ortmann d667c4964a tests: fix cppcheck findings
- bitarithm_timings: use more void, decrease range
- struct_tm_utility: add cppcheck-suppress invalidscanf
9 years ago
Ludwig Ortmann 1c3f481702 tests, native: fixup for cpuid
- adopt test name to new scheme
- make cppcheck happy / dont overwrite the target memory location twice
- fix license header
- don't redefine define if it already exists
- don't write more cpuid than is defined as size
9 years ago
epiktet 1154bd5a50 cpu/nrf51822: squash added support for nrf51822 cpu 9 years ago
Oleg Hahm 983d056c75 core: harmonizes the data type for the process ID
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
9 years ago
René Kijewski 9cf5ece44f Merge pull request #1460 from Kijewski/issue-1457
pkg: add USEPKG module "libfixmath"
9 years ago
René Kijewski d7b4f1a5ba pkg: add USEPKG module "libfixmath"
This PR adds the USEPKG module "libfixmath".
It integrates https://code.google.com/p/libfixmath/ into RIOT, cmp. #1457.
9 years ago
Hauke Petersen 938c61a5a2 Merge pull request #1456 from haukepetersen/board_stm32f3discovery
board/cpu: Added support for the stm32f3discovery board and stm32f3 cpu
9 years ago
Martine Lenders 7516c94dd8 Merge pull request #854 from authmillenon/cpu-id
drivers/cpu: add function to get CPU id/serial number
9 years ago
Ludwig Ortmann d55da67fb6 Merge pull request #1329 from LudwigOrtmann/riot_license
RIOT default license header change
9 years ago
Martin Lenders 239f2e0f24 Implement CPU id getter for native 9 years ago
Ludwig Ortmann 3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 9 years ago
Ludwig Ortmann 1200c3bc46 doc: fix comment indentation 9 years ago
Cenk Gündoğan b8009f1be5 converting tabs to spaces in tests (#1439)
This PR converts tabs to white spaces.
The statement I used for the conversion:
```find . -name "*.[ch]" -exec zsh -c 'expand -t 4 "$0" > /tmp/e && mv /tmp/e "$0"' {} \;```
Afterwards, I had a quick overview of the converted files to prevent odd indentation.
9 years ago
Martin Lenders 3a6adcc92c Implement CPU serial number getter. 9 years ago
Hauke Petersen f2c8997acc examples/tests: blacklisted stm32f3discovery 9 years ago
René Kijewski 8854e8989a tests: fix APPLICATION name 9 years ago
René Kijewski d46c7e00d4 tests: remove `test_` prefix
Closes #1485.
9 years ago
René Kijewski 4032a22719 queue: add queue_t root type 9 years ago
René Kijewski 7035ae0051 queue: remove inttypes clutter from core header 9 years ago
Ludwig Ortmann b6846e31fc doc: fix most occurences of FU as an author
.. but only if there are other authors as well
9 years ago
René Kijewski 6fae042a60 core: remove unneeded calls to mutex_init() 9 years ago
René Kijewski 0ab1b86e5f Add generic `char` pipe implementation 9 years ago
René Kijewski faf9bb5073 tests: add ringbuffer unittest 9 years ago
Ludwig Ortmann bea563d1da Fix a few cppcheck findings 9 years ago
Hauke Petersen a49fc062bf test/examples: blacklisted stm32f4discovery 9 years ago
Hauke Petersen 082e970251 tests/examples: added stm32f0discovery to ignorelists 9 years ago
Oleg Hahm e01ac410a5 Merge pull request #1430 from LudwigOrtmann/test-cleaning
tests,examples: remove unneeded headers, fix style
9 years ago
Ludwig Ortmann fcd6e4c154 tests: add libcoap compilation test 9 years ago
Ludwig Ortmann 1c825e2524 tests,examples: remove unneeded headers, fix style 9 years ago
René Kijewski ac9c80f417 make: don't use export on example makefiles 9 years ago
René Kijewski ba1a15535b core: remove extra thread_create_arg() function 9 years ago
Ludwig Ortmann c7e793dca7 test: remove superfluous stack size defines 9 years ago
Ludwig Ortmann 1a8967cb45 tests&examples: apply coding conventions to sizeof 9 years ago
Ludwig Ortmann 06a86aef20 tests&examples: use sizeof(stack) in thread_create
fixes #1392
9 years ago
Oleg Hahm 13028b41bf applications: set stack size correctly
The correct stack size for all examples and test applications correctly.
KERNEL_CONF_STACKSIZE_MAIN is the correct stack size for any thread
using printf.

Also adapted black lists accordingly.
9 years ago
René Kijewski 63dd8546af Merge pull request #1335 from Kijewski/fix-all-warnings-for-native-and-qemu-i386
Fix all warnings for native and qemu-i386
9 years ago
René Kijewski b17028bb46 tests/Travis: run unittests on x86, too 9 years ago
René Kijewski 3063e3c2b1 Fix all warnings for native and qemu-i386
Missing returns, unused variables (only used for debugging), empty
translation units, missing function prototypes, and GNU extensions.
9 years ago
René Kijewski d19fc447ed make: make DIRS usable for applications 9 years ago
Oleg Hahm 6f17f0c60a Merge pull request #1105 from Kijewski/shell-print-not-found
shell: print command if not found
9 years ago
Ludwig Ortmann de4677eb60 make: s/PROJDEPS/APPDEPS/
fixes https://github.com/RIOT-OS/RIOT/issues/1284
9 years ago
René Kijewski 20163e1452 tests: test_bloom: fix PROJDEPS concurrency
Our buildtests build one project concurrently for multiple boards.
The current creation of the `PROJDEPS` for `test_bloom` might fail if

* board `A` notices that the dependency is missing and gets preempted,
* board `B` creates the dependency and gets preempted,
* board `A` starts the creation but gets preempted in the middle of the process,
* board `B` works with a half complete created file.

This PR creates the dependency in the individual `BINDIR`.
9 years ago
René Kijewski 4142d87bbe Merge pull request #1278 from kaspar030/test_vtimer_msg_diff
tests: add test_vtimer_msg_diff
9 years ago
René Kijewski 14601c0c38 Merge pull request #1299 from phiros/timex_bugfix_and_improvement
Timex bugfix and improvement
9 years ago
Philipp Rosenkranz 0bf6ce22f3 added conv function from uint64 to timex_t and one minor bug fix 9 years ago
Martine Lenders 6d1365c5d8 Merge pull request #1324 from Kijewski/make-automatic-module-name
make: much less clutter for "standard layout" modules
9 years ago
Ludwig Ortmann 2075eeef01 make: %s/PROJECT/APPLICATION/g Part III 9 years ago
Hauke Petersen ece3f867b2 tests: fixed Makefile for test_ipc_pingpong 9 years ago
René Kijewski 840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
9 years ago
René Kijewski be1e6d1616 Add bitarithm measuring 9 years ago
René Kijewski 9775a3d199 Add test_ipc_pingpong 9 years ago
René Kijewski f3bbec633b unittests: core: add test_bitarithm_[ml]sb_all 9 years ago
Kaspar Schleiser f7913e31a8 tests: test_vtimer_msg_diff: Makefile s/PROJECT/APPLICATION/g 9 years ago
Kaspar Schleiser 9ee346c9d3 tests: test_vtimer_msg_diff: add some timers, change max values 9 years ago
Kaspar Schleiser 8d9569d8b0 tests: test_vtimer_msg_diff: use array for timers, change first to 1s 9 years ago
Kaspar Schleiser 40c939882d tests: add test_vtimer_msg_diff
This test sets three timers and renews them periodically, showing the
difference they accumulate.
9 years ago
Martine Lenders e84cdd67b7 Merge pull request #1238 from authmillenon/makefile-unittests
unittests: Force execution of $(UNITTEST_LIBS) build target
9 years ago
René Kijewski fa76383700 tests: add missing license to test_struct_tm_utility 9 years ago
René Kijewski bd2fbd161b Add `struct tm` utility "test" 9 years ago
Martin Lenders f201ceed99 unittests: Force execution of $(UNITTEST_LIBS) build target 9 years ago
Martin Lenders 2362623490 Fix trailing whitespaces
Fixes #1138
9 years ago
Martine Lenders 62139bd0d2 Merge pull request #1207 from Kijewski/unittests-makefile.include
unittests: support Makefile.include in test suites
9 years ago
Thomas Eichinger 1e983c9670 s/PROJECT/APPLICATION/g
fixes #548
9 years ago
René Kijewski 4e4f908379 Initial import of the x86 port
Currently this works only in qemu.
9 years ago
René Kijewski 49778752b3 Use `BOARD_INSUFFICIENT_RAM` in examples and tests 9 years ago
René Kijewski f3eeb98a01 msp/tests: remove blacklist from test_bloom_bytes
Issue #1061 was fixed.
9 years ago
Martin Lenders 3daa80124e Fix application name for test_bloom_byte application 9 years ago
René Kijewski 4df2f4b4da unittests: support Makefile.include in test suites
This change will pull in the `Makefile.include` for every test suite
that is compiled in.

Fixes #1205.
9 years ago
Oleg Hahm ef5ec344fd core: prefix API functions correctly
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
9 years ago
Oleg Hahm 127801d18d tests: added a thread_sleep() at the end
Letting the main thread exit could cause failing test if thread_exit()
is broken for the tested platform, preventing the actual testing of the
hwtimer.
9 years ago
Kévin Roussel 988de6b2cd Merge pull request #893 from rousselk/z1-port
Zolertia Z1 port for RIOT OS
9 years ago
Kévin Roussel 2a3033b3ca boards/z1: initial import 9 years ago
Martin 4c2aaa6321 fixed initializer and Wformat warnings 9 years ago
Jan S ba907471f3 fixed printf specifiers 9 years ago
René Kijewski 6b4d2de74e Merge pull request #961 from authmillenon/core-unittests
unittests: Unittests for core module data strutures
9 years ago
Hauke Petersen cbd4f91656 examples/tests: blacklisted udoo board
blacklisted for:
- ccn-lite-client
- ccn-lite-relay
- rpl_udp
- test_net_if
- test_pnet
9 years ago
René Kijewski beb91163ab unittests: Move tests-core into subdirectoy 9 years ago
Martin Lenders 1b042e75c4 Implement core unittests 9 years ago
René Kijewski 8950ab49a5 make: Remove `Makefile.unsupported`
This mechanism was replaced by #535. It was only used in one project.
9 years ago
Martine Lenders 991a5dccf1 Merge pull request #1168 from Kijewski/unittests-use-subfolders-and-dark-magic
unittests: separate test suites from main.c
9 years ago
René Kijewski ccc934856f Merge pull request #1124 from Kijewski/consolidate-crypto
sys:crypto: put ciphers into one module
9 years ago
René Kijewski 0246329050 unittests: separate test suites from main.c
This change removes the need to patch the main.c if you add or remove a
test suite. A test suite in `tests/unittests/tests-XXX` needs to export
the function `void tests_XXX(void)`, which gets called by `main()`.

The `tests-XXX/Makefile` looks like your average module:
```
MODULE = tests-XXX
include $(RIOTBASE)/Makefile.base
```
9 years ago
Martine Lenders 4359429168 Merge pull request #1164 from Kijewski/unittests-use-subfolders
unittests: use subfolders for different tests
9 years ago
René Kijewski 297bc52062 unittests: use subfolders for different tests
Unittests for e.g. different libraries can be put into
`tests/unittests/tests-XXX`, where `XXX` is your test suite.

If `unittests` is made with `make all` (or any explicit argument), then
all test suites get built. If you use `make tests-XXX tests-YYY …` then
only the test suites `XXX` and `YYY` get built.
9 years ago
René Kijewski 5e6bf869b0 unittests: exit(1) or error 9 years ago
Ludwig Ortmann 2314915ff2 license: fix license header grammar
insert missing "is"
9 years ago
Hauke Petersen 595ede41ea examples/tests: blacklisted arduino-due 9 years ago
Kevin Funk 395af2aa74 Add missing include 9 years ago
Ludwig Ortmann df47bd38f6 tests/test_hwtimer_spin +wait: add success
Run 10k times, print success and return.
Remove printfs in loops.
9 years ago
René Kijewski ebe702629b shell: fixup test_shell expect scripts 9 years ago
René Kijewski 96fba8a19b sys:crypto: put ciphers into one module 9 years ago
Martin Landsmann 61b0331980 added `pthread_cond.h` to `pthread.h`
adjusted `test_pthread_condition_variable\main.c` includes reflecting the above change
9 years ago
Oleg Hahm cace4b42f6 Merge pull request #1092 from BytesGalore/fix_print_format_warnings_test_thread_msg
test:test_thread_msg fixed Wformat warnings
9 years ago
--global 1bbcd268cd fix re-added removed printf formatter 9 years ago
Christian Mehlis 668800eea7 Merge pull request #1091 from BytesGalore/fix_print_format_warning
test:test_pthread_barrier fixed Wformat warning
9 years ago
Martin 2ed6e5cc42 fixed Wformat warnings 9 years ago
Christian Mehlis c3c903f1df Merge pull request #1090 from BytesGalore/fix_use_uninitialized_variable_warning
test:test_irq initialized `j` with 0
9 years ago
Martin 8b33040885 fixed Wformat warning 9 years ago
Martin 5e2b419e9e initialized `j` with 0 9 years ago
Martin 48f749625d fixed warnings on Wformat 9 years ago
Martin 619039e0e2 add pthread condition variable implementation 9 years ago
René Kijewski 300c01eaec Merge pull request #1062 from mehlis/test-thread-blacklist
test: thread: blacklist boards
9 years ago
Christian Mehlis 52c2900bdd test: thread: blacklist boards 9 years ago
Christian Mehlis 97cf6f5b92 tests: added missing chronos to blacklist 9 years ago
René Kijewski bda23cb246 Merge pull request #1059 from mehlis/test-bloom-blacklist
test: bloom: backlist platforms
9 years ago
Christian Mehlis 459599eef5 Merge pull request #1052 from Kijewski/test_nativenet-only-native
test_nativenet is only useful for native ...
9 years ago
Christian Mehlis 46c8836b0e test: bloom: backlist platforms 9 years ago
Christian Mehlis ccfbc39dc3 test: posix: blacklist boards 9 years ago
René Kijewski 1ac03ff225 test_nativenet is only useful for native ... 9 years ago
Ludwig Ortmann c52105f696 tests: add test_hwtimer_wait
It contains the old test functionality of test_hwtimer_spin.
9 years ago
Ludwig Ortmann 19d9d67f4e 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.
9 years ago
Ludwig Ortmann 066d743c35 Merge pull request #943 from Kijewski/issue-943
Clean up test_irq
9 years ago
René Kijewski 9a5a8a2452 Add pthread_rwlock test 9 years ago
Martine Lenders 0e4d2909a6 Merge pull request #830 from authmillenon/fix_test_pnet
tests: Fix test_pnet
9 years ago
Martin Lenders 4e1da23817 Fix test_pnet
fixes #829
9 years ago
Oleg Hahm 3903b8add2 Merge pull request #381 from authmillenon/unittests
Unittests via embUnit
9 years ago
Oleg Hahm f382ce8c65 tests: added README.md for test_float 9 years ago
Martin Lenders 9ce8ab2275 Create unittest application 9 years ago
Martin Lenders 0c6b5ba671 Adapt embunit for RIOT 9 years ago
Martin Lenders ca75e01105 Import embunit sources 9 years ago
Oleg Hahm 8a86f493b4 Merge pull request #821 from Kijewski/pthrad_cleanup
posix: Add pthread_cleanup handlers
9 years ago
René Kijewski 1e75986345 Clean up test_irq (fix #943) 9 years ago
René Kijewski 503e95af0b Add pthread_barrier test 9 years ago
René Kijewski 74804ab979 pthread_cleanup: fixup for #798 9 years ago
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
9 years ago
René Kijewski 2e5a2cea0a Fixup for #798 9 years ago
René Kijewski 34aec1928a Add DISABLE_MODULE += auto_init to tests 9 years ago
René Kijewski d22a4a3f44 Add DISABLE_MODULE test 9 years ago
René Kijewski e740fbc800 make: Add DEFAULT_MODULE and DISABLE_MODULE
Closes #926
9 years ago
Martine Lenders f9d8f1fc75 Merge pull request #798 from Kijewski/usemodule-includes
Make: Add include paths automatically for USEMODULES
9 years ago
Kévin Roussel dea33bd8b6 Merge pull request #909 from OlegHahm/msp430_hwtimer
msp430: hwtimer: handle overflow correctly
9 years ago
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.
9 years ago
Hauke Petersen 6c591c8a68 tests/pkg: fixed issues from #919 9 years ago
Oleg Hahm 9343c8a04a test_hwtimer: hwtimer is automatically initialized now 9 years ago
Martine Lenders 53264c7a45 Merge pull request #609 from LudwigOrtmann/transceiver_any
anytransceiver pseudomodule
9 years ago
Christian Mehlis 5a44a5bf6d Merge pull request #817 from kaspar030/tests_msg_sequence
tests: add test that shows sequence of received messages
9 years ago
René Kijewski e073d86845 Merge pull request #877 from Kijewski/shell-utf8
shell: fix UTF-8 problem
9 years ago
Ludwig Ortmann 619e94167e tests/test_pnet: use defaulttransceiver 9 years ago
Ludwig Ortmann 044bfb055a tests/test_net_if: update BLACKLIST/WHITELIST 9 years ago
Ludwig Ortmann ad0e338511 tests/test_net_if: use defaulttransceiver 9 years ago
Ludwig Ortmann 5a8d32fa6a test_hwtimer: print out message explaining test
fixes: #791
9 years ago
Oleg Hahm 42e3a3a97f Merge pull request #845 from mehlis/sem-to-posix
posix: move posix semaphore in posix module
9 years ago
Christian Mehlis 374a5376a8 rename test for posix semaphore 9 years ago
René Kijewski a1df6a86bb shell: don't ignore IO errors 9 years ago
René Kijewski 3f289760bf shell: accept UTF8 input 9 years ago
René Kijewski 1098d6f336 Add test if the message queue is fair 9 years ago
Martin Lenders b11b8f148d Fix test_net_if 9 years ago
Christian Mehlis 5f56a51606 Merge pull request #849 from Kijewski/issue-844
posix: Fix `pthread_mutex_lock()` check in test_pthread_cooperation
9 years ago
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
9 years ago
René Kijewski f3c90ac4c9 Fix `pthread_mutex_lock()` check in test_pthread_cooperation 9 years ago
Martin 35106e3391 add test for mutex_unlock_and_sleep() 9 years ago
Christian Mehlis 63ab4510b3 Merge pull request #820 from Kijewski/expect-sha256
tests: Add automatized test for sha256
9 years ago
Christian Mehlis 183262620f test: added test case for posix sleep 9 years ago
Ludwig Ortmann 9fb3f62201 test_net_if/Makefile remove superfluous includes 9 years ago
Martin Lenders 79a16df7b8 Merge pull request #644 from authmillenon/decouple_network_stack
Decouple network stack from transceiver
9 years ago
Martin Lenders eaa86600b6 Merge pull request #460 from authmillenon/define_ll_ifs
Link layer interfaces
9 years ago
Martin Lenders 3a8c1770b1 Fix apps for previous changes 9 years ago
Ludwig Ortmann 3171653e5d test_shell: fix includes
malloc.h is not needed, apply coding conventions to others
9 years ago
Martin Lenders a5e0e92bb3 Add test cases for net_if module 9 years ago
René Kijewski 07f5ca1b22 Add automatized test for sha256 9 years ago
Kaspar Schleiser bcf5050d50 tests: test_shell: call "make term" instead of hardcoded pseudoterm 9 years ago
Kaspar Schleiser 493f17a4bf test_thread_msg_seq: add missing main() return statement 9 years ago
Kaspar Schleiser 6bc9ad69c3 tests: add test that shows sequence of received messages 9 years ago
Christian Mehlis 5247fa48e1 Merge pull request #756 from josephnoir/add_test_pthread_factorial
tests: Add test for pthread
9 years ago
Christian Mehlis 92eaa51f5c Merge pull request #760 from Kijewski/shell-args
shell: Use argc and argv in shell handlers
9 years ago
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.
9 years ago
Ludwig Ortmann 23bccdf247 remove hwtimer from test_irq 9 years ago
Christian Mehlis 6f76a4c592 Merge pull request #757 from josephnoir/add_test_thread_factorial
tests: Add test for riot thread
9 years ago
Christian Mehlis 17b534619c Merge pull request #780 from mehlis/fix-bloom-test
test: fix bloom filter test
9 years ago
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.
9 years ago
René Kijewski 829966ee32 Print error message on any quoting error 9 years ago
Christian Mehlis e2c3f668bf test: fix bloom filter test 9 years ago
Oleg Hahm 93e32953b3 always build and initialize hwtimer
Eliminates special treatment of the hwtimer module and makes it a
mandatory part of the kernel.
9 years ago
Ludwig Ortmann 9c0fc3b1e2 Merge pull request #759 from LudwigOrtmann/tests_makefile
add Makefile.tests_common
9 years ago
Christian Mehlis 668c29ca52 Merge pull request #763 from LudwigOrtmann/issue_717
move global char array out of thread
9 years ago
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
9 years ago
Ludwig Ortmann d676cd328b remove debug target from test_nativenet
It conflicts with an existing debug target
9 years ago
Ludwig Ortmann 983dabe73f remove USEMODULE comments and some whitespace 9 years ago
Christian Mehlis 1e11aca209 test: added missing license 9 years ago
Ludwig Ortmann 982eecd3a6 add Makefile.tests_common
Contains common variables for all test Makefiles.
Include from test Makefiles.
9 years ago
Christian Mehlis e865022a31 pthread: initial add 9 years ago
Christian Mehlis cb9c5d00de repace project by application in documentation 9 years ago
Oleg Hahm 6c0482b976 Merge pull request #701 from Kijewski/issue-672
Use `filter` instead of `findstring`
9 years ago
René Kijewski 102dc45382 Eliminate findstring in more places 9 years ago
Ludwig Ortmann 8ce1fdde11 fix test_irq Makefile
closes #696
9 years ago
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
9 years ago
Ludwig Ortmann b175dbee91 update Makefiles to point to all-valgrind target
Header path knowledge is not necessary anymore
9 years ago
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 9 years ago
Ludwig Ortmann 1c9d4f8720 remove stale cc110x_ng includes 9 years ago
Ludwig Ortmann b6c8ceb57c update test_shell/ReadMe.txt 9 years ago
Ludwig Ortmann 8815d22390 remove superfluous uart USEMODULEs from test 9 years ago
Christian Mehlis 55c84d95b6 added LGPL header and doxygen headers 9 years ago
Ludwig Ortmann ef54fa4016 Merge pull request #567 from mehlis/tests-astyle
tests: use astyle to adopt current code style guide
9 years ago
Christian Mehlis 97133b9dfb use one consistent mail address in all places 9 years ago
Christian Mehlis 66e7762630 tests: use astyle to adopt current code style guide 9 years ago
Ludwig Ortmann 9d55fde052 increase inter-timer delay 9 years ago
Ludwig Ortmann de3f8a1ae5 improve test_hwtimer usefulness
make the delays noticeable for humans
use HWTIMER_TICKS macro for platform independency
9 years ago
Oleg Hahm 763fc6b84f Merge pull request #510 from mehlis/test_vtimer_msg
added vtimer test case
9 years ago
Martin Lenders 82af516691 Add pnet tests 9 years ago
Christian Mehlis 86f21d8880 added vtimer test case 9 years ago
Oleg Hahm cd4446023e increase wait period
otherwise the loop won't run
 (proposed by @LudwigOrtmann)
9 years ago
Oleg Hahm 5dcf64d9de imported test projects (from projects repository) 9 years ago