1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

3067 Commits

Author SHA1 Message Date
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
Hauke Petersen
7df411e7b7 core: improved doxygen documentation
improved files complient to issue #950
- thread.h
- flags.h
- debug.h
- crash.h
2014-05-15 10:52:34 +02:00
Thomas Eichinger
b06eaeeefd Merge pull request #1176 from thomaseichinger/fix_1160
boards: fix license headers to LGPL
2014-05-15 09:05:26 +02:00
Thomas Eichinger
c6bf3f1ab1 boards: fix license headers to LGPL
harmonises license headers in msb-430, msba2-common,
msba2 and wsn430-common

fixes #1160
2014-05-15 09:04:09 +02:00
Ludwig Ortmann
d7b3d21bfe native: initialize maybe uninitialized variable
fixes #1118
2014-05-15 08:54:01 +02:00
Ludwig Ortmann
ec9740142b Merge pull request #1174 from Kijewski/remove-Makefile.unsupported
make: Remove `Makefile.unsupported`
2014-05-15 08:11:44 +02:00
Thomas Eichinger
16638d1760 Merge pull request #1173 from thomaseichinger/fix_rpl_udp_osx
native: net: OSX: Fix rpl_udp example
2014-05-15 08:05:07 +02:00
Martine Lenders
47373a9e4a Merge pull request #1098 from authmillenon/make-addon
make: Make make more flexible
2014-05-15 01:19:11 +02:00
Thomas Eichinger
b3947785f0 Merge pull request #1137 from authmillenon/no_c_doc
doc: Exclude *.c files from make doc
2014-05-14 23:57:33 +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
René Kijewski
55b12034a9 msp430: fix missing members in struct tm
Closes #1150.
2014-05-14 19:57:41 +02:00
Thomas Eichinger
7a031e5669 net: handle macro redefinitions for OS X
undefine macros and reorder header includes to get rid of system
defined macros on OS X

fixes #1165
2014-05-14 19:43:58 +02:00
Thomas Eichinger
46acc2f5d5 shell: renaming isnumber to is_number in sc_net_if.c
fix name collision on OS X by renaming
2014-05-14 19:43:58 +02:00
René Kijewski
446d4a7db9 Merge pull request #1169 from Kijewski/buildtest-minus-j
make: supply `-j` on `buildtest`
2014-05-14 19:12:59 +02:00
René Kijewski
72ffa980ab make: supply -j on buildtest
We support `make -j` for a while now. `make buildtest` takes ages to
finish. So just supply `-j` on buildtest.
2014-05-14 19:12:10 +02:00
René Kijewski
97fca16cbe make: delete everything in buildtest beforehand 2014-05-14 19:12:09 +02:00
René Kijewski
fe8710ce05 make: put buildtest goals into an own file
`Makefile.include` is too long as is.
2014-05-14 19:12:09 +02:00
Martin Lenders
8fd09c575c Make directory creation in object compilation more makey 2014-05-14 18:16:40 +02:00
Martin Lenders
85b7eca19e Move .elf file to it's own target 2014-05-14 18:16:40 +02:00
Martin Lenders
c710062f86 Introduce macro to define files that should be deleted on make clean 2014-05-14 18:16:39 +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
7ebd97d986 Merge pull request #1172 from Kijewski/fixup-166b88f1
native: fixup #1145: function declaration
2014-05-14 17:06:54 +02:00
René Kijewski
d98ebf62cd native: fixup #1145: function declaration 2014-05-14 16:54:34 +02:00
Hauke Petersen
bdad2ba997 Merge pull request #1171 from haukepetersen/example_ipcpingpong_readme
examples: added README.md to ipc_pingpong example
2014-05-14 16:08:01 +02:00
Hauke Petersen
47ce60ccdc examples: IPC ping-pong README adjustments 2014-05-14 15:40:52 +02:00
Thomas Eichinger
e8e7f3ab6e Merge pull request #1056 from thomaseichinger/pkg-openwsn
pkg: openwsn: update with iot-lab_M3 support and split patch files
2014-05-14 15:11:42 +02:00
Hauke Petersen
279b5cc5ca examples: adjusted output and README for IPC pingpong 2014-05-14 15:11:01 +02:00
Thomas Eichinger
ba3088c4bd added iot-lab_M3 and temporarily dropped telosb support; split patch.txt
into separate patch files
2014-05-14 15:06:50 +02:00
Hauke Petersen
fbdc18cd63 examples: added README.md to ipc_pingpong example 2014-05-14 14:46:08 +02:00
Thomas Eichinger
70162eff1b Merge pull request #1170 from Kijewski/fixup-1119-1124
sys/crypo: fix function declarations
2014-05-14 14:41:41 +02:00
René Kijewski
e94912f7be sys/crypo: fix function declarations
In #1119 old-style function declarations are exterminated and forbidden.
I missed the functions in `sys/crypto` because they weren't used
throughout the tests/examples before #1124.
2014-05-14 14:35:35 +02:00
René Kijewski
8038e96d09 Merge pull request #1119 from Kijewski/error_old-style-definition
Exterminate old-style function definitions
2014-05-14 13:31:30 +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
Martine Lenders
07b1dd5538 Merge pull request #1161 from Kijewski/unittests-exit-code
unittests: exit(1) or error
2014-05-14 12:26:58 +02:00
Ludwig Ortmann
ba00bdb853 Merge pull request #1159 from thomaseichinger/fix_license_sam3x8e
sam3x8e: fix license to LGPL
2014-05-14 11:53:52 +02:00
Martine Lenders
9d28ea4d43 Merge pull request #1162 from AlaeddineWeslati/master
added missing Licence in at86rf231 driver files.
2014-05-14 11:17:37 +02:00
Alaeddine Weslati
2427029c1c added missing Licence in at86rf231 driver files. 2014-05-14 10:43:50 +02:00
René Kijewski
5e6bf869b0 unittests: exit(1) or error 2014-05-14 10:31:22 +02:00
René Kijewski
61152df449 Merge pull request #1158 from authmillenon/border-license
dist/tools: Licensing the border router
2014-05-14 10:22:37 +02:00
Ludwig Ortmann
a109968112 Merge pull request #1156 from LudwigOrtmann/license_header_fix
license: fix license header grammar
2014-05-14 10:22:19 +02:00
Thomas Eichinger
1ab77eea4d fix license to LGPL
fixes #1155 needs @haukepetersen to review
2014-05-14 10:20:32 +02:00
Thomas Eichinger
60b03ab7c1 Merge pull request #1157 from thomaseichinger/fix_licenses
mc1322x: redbee-econotag: fix licenses to LGPL
2014-05-14 10:05:17 +02:00
Thomas Eichinger
38f3ea6d78 fix licenses to LGPL fixes #1148 2014-05-14 10:04:34 +02:00
Martin Lenders
fe174fefdd Fix some coding conventions in border router driver 2014-05-14 09:56:06 +02:00
Martin Lenders
920e48beff License border router driver under LGPL. 2014-05-14 09:55:16 +02:00
Ludwig Ortmann
1e96570722 Merge pull request #1145 from LudwigOrtmann/native_refactor_getpid
native: refactor getpid calls
2014-05-14 09:51:03 +02:00