zephyr/tests/crypto
Inaky Perez-Gonzalez 3d498dd10c build: workaround build bug in tests
When an app uses a construct such as:

obj-y = main.o ../../../../samples/bluetooth/gatt/hrs.o

in its makefile, it causes said object module to be built in the
source tree, not in the object tree.

When building massively parallel, this usually resuls on the files
getting corrupted, leading to bugs such as:

https://jira.zephyrproject.org/browse/ZEP-2316
https://jira.zephyrproject.org/browse/ZEP-2317

src/../../../../samples/bluetooth/gatt/.gap.o.cmd:3: warning: NUL character seen; rest of line ignored
src/../../../../samples/bluetooth/gatt/.gap.o.cmd:4: warning: NUL character seen; rest of line ignored
src/../../../../samples/bluetooth/gatt/.gap.o.cmd:5: *** missing separator.  Stop.

as multiple build are trying to touch the same file in the source tree
and of course, race and causes a build bug.

We have known about this issue for a long time, but it requires
modifications in the build system that there is no time to tackle.

A suggested workaround is to include the source files into a local .c
file, so this is what this patch does, to remove the random noise.

Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
2017-07-27 14:09:40 -04:00
..
aes tests: remove build_only tag 2017-07-05 12:43:13 -04:00
cbc_mode tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
ccm_mode tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
cmac_mode tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
ctr_mode tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
ctr_prng tests: remove build_only tag 2017-07-05 12:43:13 -04:00
ecc_dh build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
ecc_dsa tests: crypto: include back riscv32 arch for ecc_dh, ecc_dsa and mbedtls 2017-06-30 06:31:51 -04:00
hmac tests: replace filters in testcase files 2017-06-28 09:51:40 -05:00
hmac_prng tests: replace filters in testcase files 2017-06-28 09:51:40 -05:00
mbedtls tests: crypto: fix coding style 2017-07-06 10:34:41 -05:00
sha256 tests: crypto: sha256: limit to systems with >48k of memory 2017-07-06 09:53:00 -05:00