Commit graph

169 commits

Author SHA1 Message Date
Adam Dunkels
8a6ae7c651 Build examples with the WERROR=1 flag passed to make, to ensure that we have a clean non-warning build for all examples on platforms that support the WERROR=1 flag 2015-10-20 10:11:24 +02:00
Simon Duquennoy
9d7cfa8f78 Regression test 21: added missing undefs and include 2015-10-20 10:11:21 +02:00
Simon Duquennoy
2c514d5d46 Regression test: remove unused variable 2015-10-20 10:11:20 +02:00
Simon Duquennoy
4805a9bbe6 Regression test: fixed function prototype of route_callback 2015-10-20 10:11:19 +02:00
Simon Duquennoy
9c15d1c42f Merge pull request #1063 from simonduq/configure-na
Default NDP configuration
2015-10-18 20:26:55 +02:00
Laurent Deru
d57be77b47 Add non-regression test for multi dodag 2015-09-30 15:48:36 +02:00
Mariano Alvira
94daacd244 Merge pull request #817 from SmallLars/econotag-ecc
Addet ECC functions on elliptic curve secp256r1.
2015-09-28 09:45:11 -05:00
Simon Duquennoy
f9537b6355 Merge pull request #1219 from simonduq/jn516x-port
NXP JN516x Platform
2015-09-25 12:09:52 +02:00
Lars Schmertmann
17ff3bb466 Added ECC functions on elliptic curve secp256r1 2015-09-24 14:11:20 +02:00
Simon Duquennoy
36f6ce7b82 Added NXP JN516x regression testing 2015-09-23 14:38:43 +02:00
Lars Schmertmann
46ffc509c1 Added App/Tool/Example for usage of additional flash on econotag/mc1322x 2015-09-14 20:43:12 +02:00
Marco Grella
17aafb9daa Align to current master 2015-09-04 17:01:04 +02:00
Simon Duquennoy
29815d0696 Travis: compile er-rest-example for the Wismote platform rather than Sky 2015-09-01 10:20:58 +02:00
Adam Dunkels
52006aec0f Simulation test with more RPL nodes than the network can handle that attempt to access a remote HTTP server. After completing their connection, they go to feather mode, freeing up route table entries in the network, to let more nodes reach the HTTP server 2015-08-27 10:27:56 +02:00
Jonas Olsson
bad7eb2bc8 Add a very sleepy CC26xx/CC13xx demo
This demonstraties how to combine CC13xx tick suppression, RPL leaf mode and turning off ContikiMAC duty cycling to build an extremely low-consuming firmware.
2015-08-23 20:41:12 +01:00
Marco Grella
bb08369b01 Regression tests fixes and Readme update. 2015-07-27 14:08:07 +02:00
Marco Grella
211d410d86 USE_SUBGHZ_BOARD fix in Makefile.compile-test 2015-07-24 18:19:46 +02:00
Marco Grella
d87f6f67e2 Added new stm32nucleo-spirit1 platform 2015-07-24 16:23:13 +02:00
Nicolas Tsiftes
8b2af09ee1 Merge pull request #1062 from simonduq/travis-rpl-fix-logs
Fix log messages of Travis tests in 12-rpl
2015-07-03 15:13:01 +02:00
George Oikonomou
b4ec0c7c1d Remove doxygen explicit links to non-existing symbols
Parts of the stm32w108 doxygen comments have explicit links to symbols that do not exist anywhere in our source base, let alone be documented. This is likely to be caused by a partial import of manufacturer libraries in the Contiki source tree.

These links were previously not generating warnings in the doxygen log because we were not defining `DOXYGEN_SHOULD_SKIP_THIS` and they were thus being skipped altogether by the doxygen pre-processor. Defining `DOXYGEN_SHOULD_SKIP_THIS` causes those doxygen comments to get processed and to thus generate warnings.

This commit removes explicit links to non-existent symbols and updates `doxyerrors.cnt` accordingly.
2015-06-20 16:10:25 +01:00
Benoît Thébaudeau
2eef189a0a doxygen: Fix some warnings
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
2015-06-20 03:22:31 +02:00
Moritz 'Morty' Strübe
c4f8f0acfb Add regression-test for tools 2015-05-17 12:26:08 +02:00
Brad Campbell
6eaada0c3f Delete old CoAP implementation
It seems that this implementation of CoAP in Contiki is no longer
maintained in favor of the `er-coap` implementation. This commit
removes the code to prevent confusion and further bit-rot.
2015-05-14 17:20:46 -04:00
Simon Duquennoy
700c22490c Modified RPL temporary root loss test: now waiting a while after the root is back and checking that all messages after its return are correctly routed 2015-05-10 23:11:31 +02:00
Simon Duquennoy
043f6a39c1 Fix log messages of Travis tests in 12-rpl 2015-05-10 19:57:22 +02:00
Simon Duquennoy
1ac5d85042 Enable NA in examples that need it 2015-05-10 19:56:38 +02:00
Nicolas Tsiftes
05d2d843da Merge pull request #1053 from simonduq/rpl-probing
RPL probing
2015-05-10 17:22:10 +02:00
Nicolas Tsiftes
44af0fa66b Merge pull request #1003 from adamdunkels/pr/http-socket-dns64-tcp-socket
New HTTP socket, DNS64, IP64 Cooja tests
2015-05-10 17:14:31 +02:00
Adam Dunkels
e712d25d4c Allow four more warnings 2015-05-10 10:51:13 +02:00
Adam Dunkels
578d7c090c Added missing Makefile for the regression tests 2015-05-10 10:51:12 +02:00
Adam Dunkels
ffc25082a3 Travis test that sets up an HTTP socket and requests www.contiki-os.org 2015-05-10 10:51:12 +02:00
Simon Duquennoy
d1ec313081 Add regression test for probing 2015-05-10 09:47:17 +02:00
George Oikonomou
598fd770b8 Merge pull request #960 from g-oikonomou/travis-arm-aapcs-tests
Test cc2538dk with the recommended toolchain
2015-05-09 22:31:18 +01:00
Adam Dunkels
d5f06c91bb Disable the websever6 compile test for the exp5438 platform 2015-04-01 21:33:27 +02:00
George Oikonomou
52eb7a3b57 Move cc2538dk travis tests to the arm-aapcs job
It makes sense to test cc2538dk with the toolchain recommended in the README (GNU Tools for ARM Embedded Processors) rather than the one which was being used two years ago (Sourcery G++ Lite)
2015-02-28 15:20:47 +00:00
Jonas Olsson
8bf35f9e4a Add cc26xx travis tests 2015-02-25 13:16:27 +01:00
George Oikonomou
76d8956a02 Adjust warning count in the doxygen travis job 2015-02-22 16:39:49 +00:00
Jonas Olsson
303f4a41fc Add Travis test for the MQTT demo 2015-02-17 16:02:55 +01:00
George Oikonomou
65c1b667a5 Adjust doxygen travis test error count 2015-02-16 10:26:11 +01:00
George Oikonomou
6473fd7e8a Adjust doxygen error count 2015-02-15 21:55:16 +01:00
Simon Duquennoy
722b3258d1 Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
Nicolas Tsiftes
2a29214683 Merge pull request #698 from sieben/scan_build
Adding static analysis through the scan-build command
2014-11-28 19:52:55 +01:00
Moritz 'Morty' Strübe
c9df5a6822 Adjust number of errors to travis environment 2014-11-19 16:23:19 +01:00
Moritz 'Morty' Strübe
a3c03edb07 Add doxygen regression testing 2014-11-19 16:23:18 +01:00
Moritz 'Morty' Strübe
1692169138 Output sha1sums of files used for simulation on fail
This helps reproducing results from the CI
2014-11-13 09:10:53 +01:00
Adam Dunkels
d1bb7be7d4 Need to have seed number included in filename, else the faillog files won't be reported at end of test 2014-11-11 11:17:02 +01:00
Rémy Léone
a069f8f73d Adding a scan-build command
scan-build http://clang-analyzer.llvm.org/scan-build.html is a clang
based tool designed to provide static analysis over C code files.
2014-10-21 17:22:06 +02:00
kkrentz
0579e304e4 llsec: Renamed ccm to ccm_star & Renamed llsec regression test 2014-10-16 09:21:56 -07:00
Moritz 'Morty' Strübe
74b741bad2 Support running multiple random seeds in case one fails 2014-10-09 09:43:07 +02:00
Adam Dunkels
24ba4a4dc3 Added a simple regression test that uses the tests in examples/llsec/ccm-tests 2014-08-05 05:07:06 -07:00
Fredrik Österlind
ed7e09ed5b Merge pull request #755 from sieben/SkyByteRadio
SkyByteRadio was replaced by Msp802154Radio
2014-07-24 09:15:45 +02:00
Jim Paris
efe3f4dabc Add modern ARM compiler and ev-aducrf101mkxz to travis tests 2014-07-23 16:21:54 -04:00
Rémy Léone
911f3aa07c SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
Jim Paris
b5f37e856c Rename travis "arm" BUILD_ARCH to "arm-apcs".
These platforms are built with an old ARM compiler that supports the
deprecated APCS standard.
2014-07-08 01:48:28 -04:00
Nicolas Tsiftes
3829860c3c Merge pull request #620 from adamdunkels/push/socket-api
New TCP and UDP socket APIs
2014-04-09 22:12:59 +02:00
Adam Dunkels
367eed96f4 Add a compile test for the tcp-socket example 2014-04-09 22:01:18 +02:00
George Oikonomou
cc41efaadd Update regression sims to org.contikios 2014-03-05 20:31:19 +00:00
Adam Dunkels
38a0c867f2 Don't wait for a specific packet (which may not arrive) - instead, wait for any packet to arrive. 2014-03-05 20:31:18 +00:00
Adam Dunkels
925f98728f Simple regression test for the IPv6 multicast code with 32 nodes (31 hops) in a line configuration 2014-03-05 20:31:18 +00:00
Adam Dunkels
a05d68a0fa Simple regression test for the IPv6 multicast code with 12 nodes (11 hops) in a line configuration 2014-03-05 20:31:18 +00:00
George Oikonomou
55f1f01a98 Multicast compile regression tests 2014-03-05 20:31:17 +00:00
Adam Dunkels
45265249fc Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
Adam Dunkels
b36fba76bd Updated with the new modularized uip paths 2014-01-26 23:20:44 +01:00
Adam Dunkels
5f3fe7f7c7 Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
Ian Martin
174d4dd80c Adds support for ADF7023 sub-GHz radio from Analog Devices and RL78 series MCU from Renesas.
This example platform for this port is the EVAL-ADF7XXXMB4Z w/ radio
daughter cards:

    http://www.analog.com/en/evaluation/eval-adf7023/eb.html

See the platform readme for usage and platform information:

    https://github.com/contiki-os/contiki/tree/master/platform/eval-adf7xxxmb4z/readme.md

All files provided by Analog Devices for this port are released under
the same license as Contiki and copyright Analog Devices Inc. per
agreement between Redwire Consulting, LLC and Analog Devices Inc. (SOW 08122013)
2014-01-04 18:56:51 -05:00
Sébastien Dawans
d772baa37d Travis test for slip-radio 2013-12-09 21:06:37 +01:00
George Oikonomou
d8d15fec67 Remove Sensinode tests from travis 2013-12-03 14:13:40 +00:00
Adam Dunkels
b01469907b Don't compile webserver-ipv6 for the sky platform, as it is a little too small. Use the larger exp5438 instead 2013-12-02 23:09:25 +01:00
Adam Dunkels
0fd503af42 Removed the experimental checkpointing code 2013-11-28 14:09:17 +01:00
Adam Dunkels
0d04db2b03 Merge pull request #428 from g-oikonomou/config-sanity
Remove unnecessary stuff from various Makefiles (Config Sanity, Pt 1)
2013-11-26 15:05:08 -08:00
Adam Dunkels
d05a9e2e39 Disabling the fragmentation test for the sky, as it is a little too small to reliably run this firmware 2013-11-24 16:24:13 +01:00
Adam Dunkels
52a0b4594f Removed the old esb regression tests 2013-11-22 16:33:46 +01:00
Adam Dunkels
6265219775 Merge pull request #453 from adamdunkels/push/travis-fix
Fix broken travis
2013-11-22 02:36:09 -08:00
Adam Dunkels
b5f4588e56 Loaded the simulation files in Cooja and saved them again to avoid them having any non-backward-compatible constructs in them. 2013-11-20 23:03:50 +01:00
Oliver Schmidt
1f8fbbd161 Reduce travis overhead for testing 6502 ports.
- build cc65 libraries only for target supported by Contiki
- instead of building all examples for all 6502 targets build
  - all examples for one target (c64)
  - the most demanding client example (webbrowser) for all 6502 targets
  - the most demanding server examples (webserver) for all 6502 targets
2013-11-20 21:17:43 +01:00
Fredrik Osterlind
b5c94910ac Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies
like /tools/mspsim.

This is a very simple modification that affects a very large number of files in Contiki: Cooja,
/platform/cooja, Collect-view, Coffe-manager, and Cooja simulation files (.csc).

I've gone through Contiki to update all references I could find. Nevertheless, this commit will likely
break external dependencies, like saved Cooja simulation files.
2013-11-20 16:43:27 +01:00
George Oikonomou
58ef2342c2 Stop setting WITH_UIP6=1 in example Makefiles
It achieves exactly nothing other than generate confusion
2013-11-20 14:52:32 +00:00
George Oikonomou
820e50f3ed Add 6502 tests to travis 2013-11-20 13:31:32 +00:00
Moritz 'Morty' Strübe
dcbd7936ad Move simulation execution from Makefile to Bash script; show Progress
Additional code is needed to show the progress. Otherwise Travis is
likely to become unhappy and terminates the job. This was no fun within
the Makefile. Moving the execution to a Bash script allows better
maintainability.
In case of an error the error all logs will be printed when using a CI.
2013-11-11 08:18:35 +01:00
Moritz 'Morty' Strübe
d81abb33fd Remove broken test from regression testing 2013-11-11 08:18:35 +01:00
Moritz 'Morty' Strübe
08047d1a27 Tolerate loosing one packet in 01-sky-shell-collect.csc 2013-11-11 08:18:25 +01:00
Moritz 'Morty' Strübe
c89e827d6c Make regressiontest reproducable 2013-11-06 17:41:59 +01:00
Adam Dunkels
2af2478166 A set of RPL regression tests that the RPL network is able to survive the replacement of one node. The different tests test different placements of the moving node, with a varying number of hops from the root 2013-08-19 17:48:33 +02:00
Adam Dunkels
4cfefe80e4 A RPL regression test that tests that the network survives a random rearrangement 2013-08-19 17:48:33 +02:00
Adam Dunkels
241a4e0100 A RPL regression test that tests that a RPL network survives a temporary root loss 2013-08-19 17:48:33 +02:00
Adam Dunkels
6d386ffc8d A RPL regression test that tests DAO routes going towards the sink and then down 2013-08-19 17:48:32 +02:00
Adam Dunkels
b1e6890b32 Re-enabled the large network RPL test 2013-08-19 17:48:32 +02:00
Nicolas Tsiftes
fe0a0423cb Merge pull request #330 from adamdunkels/push/faster-collect-lossy
Faster collect-lossy travis test
2013-08-11 07:14:28 -07:00
Adam Dunkels
6e7beb93cb Made it easier to configure how many packets that should be received. Reduced the total amount of packets from 10 to 8 to make the test complete faster. 2013-08-11 15:12:18 +02:00
Adam Dunkels
b6770b9de8 Added regression tests that test IPv6 fragmentation 2013-08-11 14:27:21 +02:00
George Oikonomou
3446cee85b Break travis compile tests into smaller builds
* The previous 01-compile test has been renamed to compile-base. It
  now only tests {msp430, avr, native}-based platforms
* New test builds for arm-based and 8051-based ports (one build per arch)
* Only install arm-none-eabi, sdcc and srecord for the builds which need
  them. This will somewhat speed up all other tests
* Test er-rest-example and webserver-ipv6 for the cc2538
* An erroneous comment was fixed and another comment was somewhat
  clarified
2013-08-07 15:00:13 +01:00
George Oikonomou
952607d1b5 Add CC2538 travis compile tests 2013-08-06 21:17:58 +01:00
stefano pascali
36e7db42de Some little refactor 2013-07-19 16:15:55 +02:00
stefano pascali
b43ce0f677 Travis-ci tweaks, added CPUREV to 01 regression test, needed by mbxxx platform 2013-07-12 17:07:04 +02:00
Adam Dunkels
4ac7512895 Temporarily disable large RPL network test until we get link-layer ACKs in Cooja 2013-06-20 10:12:54 +02:00
Nicolas Tsiftes
4b80ad9c89 Merge pull request #239 from darconeous/pull-requests/avr-ravenusb-rpl
avr-ravenusb/cdc_task: Fix compile issues.
2013-05-20 04:42:03 -07:00
Robert Quattlebaum
3e0666265d avr-ravenusb/cdc_task: Fix compile issues.
A lot more changes are in the pipeline, but compiling is a good start.
2013-05-19 11:31:01 -07:00
Mariano Alvira
f90736e7ed Travis: disable 02-sky-ipv6-udp test b/c it's still flaky even with
the longer test time.
2013-05-19 13:14:56 -04:00
Mariano Alvira
e67c07468d Travis: sky-ipv6-udp test needs more time to complete 2013-05-18 18:14:14 -04:00
Mariano Alvira
d662279bb4 Travis: disable flaky or failing tests
* disable hello-world of cooja motes b/c it is flaky
* mark 04-sky-shell-download.csc test as failing. Not sure what
the problem is.
2013-05-18 18:14:14 -04:00