[Buildroot] [PATCH] support/scripts: add script to test a package
Luca Ceresoli
lucaceresoli77 at gmail.com
Tue Feb 7 10:48:51 UTC 2017
Hi Yann, Thomas,
On 07/02/2017 10:33, Yann E. MORIN wrote:
> Luca, All,
>
> On 2017-02-06 21:40 +0100, Luca Ceresoli spake thusly:
>> On 06/02/2017 19:02, Yann E. MORIN wrote:
> [--SNIP--]
>>> + printf ", olddefconfig"
>>> + if ! make O="${dir}" olddefconfig >/dev/null 2>&1; then
>>> + printf ": FAILED\n"
>>> + return
>>> + fi
>>> + while read line; do
>>> + if ! grep "^${line}\$" "${dir}/.config" >/dev/null 2>&1; then
>>
>> I suggest removing the redirects and using 'grep -q' here.
>
> grep -q is not POSIX. ;-)
:-(
In the meantime I finished building one package (exim) with all
toolchains, with and without '-p exim'. I also introduced various
errors: wrong URL, wrong build/configure commands, wrong config snippet,
network disconnection.
It all work as expected. So, with the discussed fixed, I expect to add
my Acked and Tested tags.
Thanks.
--
Luca
More information about the buildroot
mailing list