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
Ludwig Ortmann
2075eeef01
make: %s/PROJECT/APPLICATION/g Part III
2014-06-18 15:24:14 +02:00
Hauke Petersen
ece3f867b2
tests: fixed Makefile for test_ipc_pingpong
2014-06-18 14:19:16 +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
be1e6d1616
Add bitarithm measuring
2014-06-05 20:19:10 +02:00
René Kijewski
9775a3d199
Add test_ipc_pingpong
2014-06-05 20:19:10 +02:00
René Kijewski
f3bbec633b
unittests: core: add test_bitarithm_[ml]sb_all
2014-06-05 20:19:10 +02:00
Martine Lenders
e84cdd67b7
Merge pull request #1238 from authmillenon/makefile-unittests
...
unittests: Force execution of $(UNITTEST_LIBS) build target
2014-06-03 17:56:09 +02:00
René Kijewski
fa76383700
tests: add missing license to test_struct_tm_utility
2014-06-02 16:54:46 +02:00
René Kijewski
bd2fbd161b
Add struct tm
utility "test"
2014-05-28 00:43:41 +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
4e4f908379
Initial import of the x86 port
...
Currently this works only in qemu.
2014-05-25 13:40:29 +02:00
René Kijewski
49778752b3
Use BOARD_INSUFFICIENT_RAM
in examples and tests
2014-05-23 14:29:52 +02:00
René Kijewski
f3eeb98a01
msp/tests: remove blacklist from test_bloom_bytes
...
Issue #1061 was fixed.
2014-05-22 15:40:25 +02:00
Martin Lenders
3daa80124e
Fix application name for test_bloom_byte application
2014-05-19 16:16:19 +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
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.
2014-05-17 00:30:38 +02:00
Kévin Roussel
988de6b2cd
Merge pull request #893 from rousselk/z1-port
...
Zolertia Z1 port for RIOT OS
2014-05-16 12:08:56 +02:00
Kévin Roussel
2a3033b3ca
boards/z1: initial import
2014-05-16 11:02:06 +02:00
Martin
4c2aaa6321
fixed initializer and Wformat warnings
2014-05-15 19:30:02 +02:00
Jan S
ba907471f3
fixed printf specifiers
2014-05-15 17:42:57 +02:00
René Kijewski
6b4d2de74e
Merge pull request #961 from authmillenon/core-unittests
...
unittests: Unittests for core module data strutures
2014-05-15 15:57:56 +02:00
Hauke Petersen
cbd4f91656
examples/tests: blacklisted udoo board
...
blacklisted for:
- ccn-lite-client
- ccn-lite-relay
- rpl_udp
- test_net_if
- test_pnet
2014-05-15 11:53:14 +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
8950ab49a5
make: Remove Makefile.unsupported
...
This mechanism was replaced by #535 . It was only used in one project.
2014-05-14 22:58:25 +02:00
Martine Lenders
991a5dccf1
Merge pull request #1168 from Kijewski/unittests-use-subfolders-and-dark-magic
...
unittests: separate test suites from main.c
2014-05-14 17:56:53 +02:00
René Kijewski
ccc934856f
Merge pull request #1124 from Kijewski/consolidate-crypto
...
sys:crypto: put ciphers into one module
2014-05-14 13:12:21 +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
Ludwig Ortmann
2314915ff2
license: fix license header grammar
...
insert missing "is"
2014-05-14 09:49:09 +02:00
Hauke Petersen
595ede41ea
examples/tests: blacklisted arduino-due
2014-05-13 21:18:27 +02:00
Kevin Funk
395af2aa74
Add missing include
2014-05-13 14:43:48 +02:00
Ludwig Ortmann
df47bd38f6
tests/test_hwtimer_spin +wait: add success
...
Run 10k times, print success and return.
Remove printfs in loops.
2014-05-13 10:35:53 +02:00
René Kijewski
96fba8a19b
sys:crypto: put ciphers into one module
2014-05-12 21:57:44 +02:00
Martin Landsmann
61b0331980
added pthread_cond.h
to pthread.h
...
adjusted `test_pthread_condition_variable\main.c` includes reflecting the above change
2014-05-07 07:54:54 +02:00
Oleg Hahm
cace4b42f6
Merge pull request #1092 from BytesGalore/fix_print_format_warnings_test_thread_msg
...
test:test_thread_msg fixed Wformat warnings
2014-05-05 11:39:18 +02:00
--global
1bbcd268cd
fix re-added removed printf formatter
2014-05-02 16:28:47 +02:00
Christian Mehlis
668800eea7
Merge pull request #1091 from BytesGalore/fix_print_format_warning
...
test:test_pthread_barrier fixed Wformat warning
2014-05-02 14:56:18 +02:00
Martin
2ed6e5cc42
fixed Wformat warnings
2014-05-02 14:30:49 +02:00
Christian Mehlis
c3c903f1df
Merge pull request #1090 from BytesGalore/fix_use_uninitialized_variable_warning
...
test:test_irq initialized `j` with 0
2014-05-02 14:28:45 +02:00
Martin
8b33040885
fixed Wformat warning
2014-05-02 14:16:20 +02:00