Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
René Kijewski
faf9bb5073
tests: add ringbuffer unittest
2014-07-28 20:56:12 +02:00
Ludwig Ortmann
bea563d1da
Fix a few cppcheck findings
2014-07-25 08:17:06 +02:00
René Kijewski
ac9c80f417
make: don't use export on example makefiles
2014-07-10 15:23:31 +02:00
Ludwig Ortmann
1a8967cb45
tests&examples: apply coding conventions to sizeof
2014-07-09 07:41:54 +02:00
René Kijewski
b17028bb46
tests/Travis: run unittests on x86, too
2014-06-24 21:07:20 +02:00
René Kijewski
d19fc447ed
make: make DIRS usable for applications
2014-06-23 15:50:10 +02:00
René Kijewski
14601c0c38
Merge pull request #1299 from phiros/timex_bugfix_and_improvement
...
Timex bugfix and improvement
2014-06-19 13:18:15 +02:00
Philipp Rosenkranz
0bf6ce22f3
added conv function from uint64 to timex_t and one minor bug fix
2014-06-19 12:40:24 +02:00
Martine Lenders
6d1365c5d8
Merge pull request #1324 from Kijewski/make-automatic-module-name
...
make: much less clutter for "standard layout" modules
2014-06-18 23:52:49 +02:00
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.
2014-06-17 15:49:32 +02:00
René Kijewski
f3bbec633b
unittests: core: add test_bitarithm_[ml]sb_all
2014-06-05 20:19:10 +02:00
Martin Lenders
f201ceed99
unittests: Force execution of $(UNITTEST_LIBS) build target
2014-05-27 10:41:28 +02:00
Martin Lenders
2362623490
Fix trailing whitespaces
...
Fixes #1138
2014-05-26 14:54:23 +02:00
Martine Lenders
62139bd0d2
Merge pull request #1207 from Kijewski/unittests-makefile.include
...
unittests: support Makefile.include in test suites
2014-05-26 14:51:12 +02:00
Thomas Eichinger
1e983c9670
s/PROJECT/APPLICATION/g
...
fixes #548
2014-05-26 13:21:09 +02:00
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 .
2014-05-18 16:20:35 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
René Kijewski
beb91163ab
unittests: Move tests-core into subdirectoy
2014-05-15 11:07:11 +02:00
Martin Lenders
1b042e75c4
Implement core unittests
2014-05-15 11:07:11 +02:00
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
```
2014-05-14 12:57:52 +02:00
Martine Lenders
4359429168
Merge pull request #1164 from Kijewski/unittests-use-subfolders
...
unittests: use subfolders for different tests
2014-05-14 12:54:21 +02:00
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.
2014-05-14 12:48:56 +02:00
René Kijewski
5e6bf869b0
unittests: exit(1) or error
2014-05-14 10:31:22 +02:00
Kevin Funk
395af2aa74
Add missing include
2014-05-13 14:43:48 +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