[Buildroot] [PATCH 1/2] support/scripts: add check-dotconfig.py

Romain Naour romain.naour at gmail.com
Mon Apr 20 12:19:55 UTC 2020


Hello Thomas,

Le 20/04/2020 à 13:52, Thomas Petazzoni a écrit :
> Hello,
> 
> On Mon, 20 Apr 2020 11:17:56 +0200
> Romain Naour <romain.naour at gmail.com> wrote:
> 
>> For the same reason as for 50b747f212be2c9c0f7cf10c674ed488d042715c,
>> we need to check if the generated configuration file (.config)
>> contains all symbols present in the defconfig file.
> 
> Then can we also make the runtime-test infrastructure use this
> check-dotconfig.py script ?

Not with the current implementation of the runtime-test infrastructure since the
defconfig is bundled in the test python script.

The defconfig is written to .config but then we run make olddefconfig to
generate the real .config. So we can't compare the .config file with
check-dotconfig.py without creating a defconfig file.

> 
> No need to do it right now, in this patch or patch series, but just
> something that would be good to have.

This can be easily be done in a followup patch.

Best regards,
Romain

> 
> Thanks!
> 
> Thomas
> 



More information about the buildroot mailing list