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

23468 Commits

Author SHA1 Message Date
Gaëtan Harter
1be5b7b10b
cpu: do not locally export compilation variables
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:53 +02:00
Gaëtan Harter
ef542ef92c
boards: do not locally export compilation variables
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:44 +02:00
Gaëtan Harter
34f69245c3
makefiles: do not locally export compilation variables
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:36 +02:00
Gaëtan Harter
15e9812ffb
pkg/oonf_api: remove exporting CFLAGS and INCLUDES
CFLAGS and INCLUDES are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:36 +02:00
Gaëtan Harter
a68bf99086
makefiles/vars.inc.mk: export CFLAGS_CPU
CFLAGS_CPU is required for 'pkg/openthread'. So declare it as a global
compilation variable.

The goal is to move the export to `makefiles/vars.inc.mk` and remove the
local exports that could be in boards/cpu/arch.
2019-08-29 10:35:36 +02:00
Gaëtan Harter
3010d1cef4
cpu/arm7_common: remove deprecated CFLAGS_BASIC
Nothing declares this anymore
2019-08-27 17:06:52 +02:00
Juan I Carrano
5ece3dc323
Merge pull request #12050 from gschorcht/cpu/esp32/fix_ctor_initialization
cpu/esp32: fix of global ctor initialization
2019-08-27 11:38:00 +02:00
Juan I Carrano
0d39f896c9
Merge pull request #12060 from gschorcht/cpu/esp32/fix_static_object_init
cpu/esp32: workaround for static object initialization
2019-08-27 11:35:36 +02:00
Gunar Schorcht
7b160a7dd3 cpu/esp32: workaround for static object init 2019-08-27 09:41:41 +02:00
Kevin "Tristate Tom" Weiss
b9a01437be
Merge pull request #12072 from cladmi/pr/test_tools/shell_no_echo
tests/test_tools: add a test for the testing tools environment
2019-08-26 17:12:14 +02:00
Juan I Carrano
dd25048520
Merge pull request #12073 from aabadie/pr/tests/loramac_light_up_arduino_mega
tests/pkg_semtech-loramac: disable rx thread for arduino-mega2560
2019-08-26 15:19:45 +02:00
97de3e835b
Merge pull request #12078 from Rotzbua/fix_typo
fix typo: usefull -> useful
2019-08-25 21:50:23 +02:00
Rotzbua
5a8bac399c
drivers/ccs811: sys/hashes: fix typo usefull -> useful 2019-08-25 21:27:55 +02:00
570f95f2bb
tests/pkg_semtech-loramac: disable rx thread for arduino-mega2560
Otherwise the application cannot be linked for this platform
2019-08-23 21:08:35 +02:00
Kevin "Tristate Tom" Weiss
1b1c902dd3
Merge pull request #12022 from JannesVolkens/tmp00x
driver/tmp00x: make tmp006 more generic
2019-08-23 13:26:09 +02:00
cladmi
b3cb076286
tests/test_tools: add a test for the testing tools environment
Check the interaction with a board through make term.
It is using a shell without echo or prompt for reference.

It currently checks that there is no local echo.
2019-08-23 12:14:52 +02:00
Jannes
90c4ef04ef driver/tmp00x: Change tmp006 to tmp00x and add tmp007
Rename TMP006 to TMP00x
Add TMP007 sensor support to TMP00X
Change uint8_t reg to uint16_t
Add to doxygen documentation group
Expose compile time configurations
Move defines from .c to .h
Change double to float, because double is not needed
Add TMP007 register information
2019-08-23 12:11:16 +02:00
Juan I Carrano
647b0cdd29
Merge pull request #12040 from cladmi/pr/tests/unittests/move_cpp_test
tests/cpp_ctors: move tests-cpp_ctors out of unittests
2019-08-22 15:46:38 +02:00
349b83c117
Merge pull request #6927 from OTAkeys/pr/ncv7356
can: add ncv7356 SW transceiver driver
2019-08-22 15:18:35 +02:00
Juan I Carrano
dd8fc0b095
Merge pull request #12061 from cladmi/pr/docker/cc_nocolor
makefiles/docker.inc.mk: allow disabling color in docker
2019-08-22 13:22:33 +02:00
Gaëtan Harter
1e0ca7ca7f
tests/unittests: remove the 'DISABLE_TEST_FOR_ARCH'
Remove the arch disabling tests handling as now unused.

If something like this is necessary again the test must be put
outside of unittests.
2019-08-22 12:39:47 +02:00
Gaëtan Harter
5638881e5b
tests/cpp_ctors: move tests-cpp_ctors out of unittests
This moves 'unittests/tests-cpp_ctors' to its own test.
It prevents requiring 'cpp' in the 'unittests' that forced almost all
architectures to link the unittests with `g++`.
It also removes the need to have disabled tests for architectures.

Some boards were actually not big enough to compile unittests.
But were hidden by the 'cpp' missing feature.

Blacklist boards that were disabled for cpp test even though they
provide the 'cpp' feature.
2019-08-22 12:39:47 +02:00
Gaëtan Harter
e1357c1499
makefiles/docker.inc.mk: allow disabling color in docker
When compiling with CC_NOCOLOR=1, color were still used when
printing during compilation with `BUILD_IN_DOCKER=1`.
2019-08-22 11:20:58 +02:00
Gaëtan Harter
1ec4e45f77
tests/unittests: blacklist 8/16bit boards as they do not compile
The boards do not compile the unittests due to issue with too long
integers and other issues.
2019-08-22 10:52:58 +02:00
Juan I Carrano
e2b2b8e43c
Merge pull request #12014 from cladmi/pr/cpu_cpu_model/migration/straightforward_ones
boards: move CPU/CPU_MODEL definition to Makefile.features
2019-08-21 18:52:28 +02:00
Juan I Carrano
872407807a
Merge pull request #12011 from cladmi/pr/makefiles/info_global/default_modules
makefiles/info-global.inc.mk: bug: honor DEFAULT_MODULES
2019-08-21 18:51:35 +02:00
Juan I Carrano
c35cbda1bf
Merge pull request #12038 from cladmi/pr/tests/crypto/add_rfc_nist_tests
tests/sys_crypto: add RFC3610 and NIST SP 800-38C tests
2019-08-21 18:46:43 +02:00
Gaëtan Harter
4516905c0f
makefiles/info-global.inc.mk: bug: honor DEFAULT_MODULE$
The parsing for info-boards-supported was completely ignoring default
modules.
2019-08-21 17:57:30 +02:00
Gaëtan Harter
46c79018f3
tests/sys_crypto: add tests from NIST SP 800-38C
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
d61f3c23ca
tests/sys_crypto: add remaining tests from RFC 3610
Taken from pycrypto tests input
2019-08-21 17:52:45 +02:00
Gaëtan Harter
1e7242ac82
tests/sys_crypto: change naming and formatting
* use names with RFC
* add terminating comma
* remove newlines between tests values

This prepares for the format of the next commit adding all RFC tests.
This will reduce the number of changes in upcoming commit.
2019-08-21 17:52:45 +02:00
Gaëtan Harter
330b9669a3
tests/sys_crypto: move tests-crypto out of unittests
This moves unittests/tests-crypto to its own test.
It should allow adding big test vectors without preventing boards from
running the tests.
2019-08-21 17:52:45 +02:00
Juan I Carrano
dcc20d7054
Merge pull request #12041 from cladmi/pr/makefiles/info_global/features_conflict
makefiles/info-global.inc.mk: bug: handle FEATURES_CONFLICT value
2019-08-21 17:51:42 +02:00
Gaëtan Harter
8c0120acd5
makefiles/info-global.inc.mk: bug: handle FEATURES_CONFLICT value
The value must be saved from the original value to allow restoring it.

This has currently no impact on 'info-boards-supported' as it is
currently ignored.
2019-08-21 17:16:32 +02:00
Juan I Carrano
e7957e6d9b
Merge pull request #11688 from cladmi/pr/tests/pthread_rwlock/enable_in_ci
tests/pthread_rwlock: run the test in CI
2019-08-21 17:15:53 +02:00
Juan I Carrano
507444ee44
Merge pull request #12010 from cladmi/pr/makefiles/info_global/disable_module
makefiles/info-global.inc.mk: bug: fix DISABLE_MODULE_GLOBAL value
2019-08-21 17:15:02 +02:00
Gunar Schorcht
328813ce12 cpu/esp32: fix of ctor and newlib initialization
Module `newlib` is now used by default. Therefore, the separation of initialization of ctors and the newlibc is not needed any longer. Instead of calling `do_global_ctors` and `_init` separately, `__libc_init_array` is called. Explicit function `do_global_ctors` is removed.
2019-08-21 16:31:06 +02:00
Marian Buschsieweke
938b36a29c
Merge pull request #12054 from cladmi/pr/unittests/sht1x/limit_test_vectors_on_board
unittests/sht1x: decrease the amount of tested values on board
2019-08-21 16:03:04 +02:00
Gaëtan Harter
9cd08d4999
tests/pthread_rwlock: run the test in CI
HACK, the test currently fails in CI for `native` due to `utf-8` handling.
2019-08-21 15:46:47 +02:00
Gaëtan Harter
0aae704fd4
tests/pthread_rwlock: lock around prints
The test assumes that 'printf/puts' are non interruptible operations.
Use a mutex to guarantee it.

Without this, the automated test was failing in some configurations with
lines being cut by others.
2019-08-21 15:46:19 +02:00
Cenk Gündoğan
83e092e585
Merge pull request #12043 from jcarrano/dont-use-tlsf
pkg/ccn-lite: remove dependency on tlsf-malloc.
2019-08-21 15:38:54 +02:00
8f7009e4f9
Merge pull request #11680 from cladmi/pr/ci/change_testing_policy
makefiles/murdock.inc.mk: change policy to run tests by default
2019-08-21 15:32:48 +02:00
Sebastian Meiling
8e08748c60
Merge pull request #7654 from cladmi/pr/arduino_sketches.cpp
arduino/sketches: build sketches as a module
2019-08-21 15:22:45 +02:00
Gaëtan Harter
2a24c7ee20
unittests/sht1x: decrease the amount of tested values on board
Reduce the amount of tested values by a 100.
This makes the testing time go from 3 minutes to 2 seconds on
`frdm-kw41z`.

Testing that the integer calculation matches the float one does not need
to be performed on the full range on boards. Checking some values should
be enough to detect overflow issues.
The full range checking is kept on native.
2019-08-21 14:54:35 +02:00
Gaëtan Harter
8e5422ff78
applications: remove 'TEST_ON_CI_WHITELIST += all'
This is now the default so not required anymore.
2019-08-21 12:51:17 +02:00
Gaëtan Harter
1292d96feb
makefiles/murdock.inc.mk: change policy to run tests by default
By default if a test is available and not blacklisted it will be run by
murdock.

This will move from a whitelisting everything that works, to
blacklisting what fails. This way, failing tests will be easier to
track instead of being silently just not run.

It could even allow introducing failing tests before a fix is available.
2019-08-21 12:49:26 +02:00
Gaëtan Harter
1e6ac08423
murdock: only set test is enabled if there are tests
Only set `TEST_ON_CI_ENABLED` if the application has tests.
Currently `TEST_ON_CI_WHITELIST` was only set if there were tests.

This is a pre-step to have `TEST_ON_CI_WHITELIST` being `all` by
default.
2019-08-21 12:49:26 +02:00
Gaëtan Harter
084c6f739d
tests/lwip: disable failing test
The test fails on both murdock and on my machine due to the process
exiting directly.

pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
2019-08-21 12:49:24 +02:00
Gaëtan Harter
1f11843623
tests/pkg_fatfs_vfs: disable tests that need setup
The test need a manual setup that cannot currently be done in CI.
2019-08-21 12:49:00 +02:00
Gaëtan Harter
f7176f425f
tests/gnrc: disable tests that need setup and root
Disable running tests that need a setup and run with root as they cannot
currently be run in CI.
2019-08-21 12:46:51 +02:00