support/testing: check if the defconfig provided for testing is valid
authorRomain Naour <romain.naour@gmail.com>
Sun, 5 Apr 2020 23:04:14 +0000 (01:04 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 6 Apr 2020 20:16:36 +0000 (22:16 +0200)
commit50b747f212be2c9c0f7cf10c674ed488d042715c
treec5502fa234756bbbf90544bc1dfed145b4b31806
parent8e217262a868cf994e6a10ca782dfac9057ff89c
support/testing: check if the defconfig provided for testing is valid

Currently, the build continue even if some symbols disapear from
the generated dot config file (.config).

This patch add a new check in order to stop the test if one
of the provided symbol is missing. This must be treated as error.

For example, if a symbol disapear due to new dependency constraints.

Inspired by is_toolchain_usable() function from genrandconfig:
https://git.busybox.net/buildroot/tree/utils/genrandconfig?h=2020.02#n164

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/testing/infra/builder.py