Skip to contentSkip to conversation

selftests: introduce gen_tar Makefile target

PATCH Stefano Brivio 3 participants 4 messages Apr 27, 2020 – Apr 28, 2020 1 message not in the archive Kselftest

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Stefano Brivio

author Reviewed-by
#1 lore raw
Quoted 6 lines · On Mon, 27 Apr 2020 21:21:41 +0200 Veronika Kabatova <[email protected]>…

The gen_kselftest_tar.sh always packages *all* selftests and doesn't pass along any variables to make install to influence what should be built. This can result in an early error on the command line ("Unknown tarball format TARGETS=XXX"), or unexpected test failures as the tarball contains tests people wanted to skip on purpose.

Quoted 8 lines

Since the makefile already contains all the logic, we can add a target for packaging. Keep the default .gz target the script uses, and actually extend the supported formats by using tar's autodetection.

To not break current workflows, keep the gen_kselftest_tar.sh script as it is, with an added suggestion to use the makefile target instead.

Signature · 1 line
Stefano
maintainer
#2 lore raw

Hi Veronika,

Quoted 13 lines · Stefano Brivio
Quoted 10 lines · On Mon, 27 Apr 2020 21:21:41 +0200 Veronika Kabatova <[email protected]>…

The gen_kselftest_tar.sh always packages *all* selftests and doesn't pass along any variables to make install to influence what should be built. This can result in an early error on the command line ("Unknown tarball format TARGETS=XXX"), or unexpected test failures as the tarball contains tests people wanted to skip on purpose.

Since the makefile already contains all the logic, we can add a target for packaging. Keep the default .gz target the script uses, and actually extend the supported formats by using tar's autodetection.

Quoted 7 lines
Quoted 4 lines

To not break current workflows, keep the gen_kselftest_tar.sh script as it is, with an added suggestion to use the makefile target instead.

I don't see this in my Inbox. Please include everybody get_maintainers script tells you to do.

You can add the Reviewed-by: Stefano Brivio <[email protected]> to the patch when you resend it.

thanks,
-- Shuah

#3 lore raw
Quoted 2 lines · On Mon, 27 Apr 2020 18:17:27 -0600 shuah <[email protected]> wrote:

I don't see this in my Inbox. Please include everybody get_maintainers script tells you to do.

Strange, the copy I have has you in To: and linux-kselftest in Cc:, and yet it's not even on linux-kselftest archives. :( It looks like some MTA issue on our side...

Signature · 1 line
Stefano
#4 lore raw
In reply to shuah

----- Original Message -----

Quoted 27 lines

From: "shuah" <[email protected]>
To: "Stefano Brivio" <[email protected]>, "Veronika Kabatova" <[email protected]>
Cc: [email protected], "shuah" <[email protected]>
Sent: Tuesday, April 28, 2020 2:17:27 AM
Subject: Re: [PATCH] selftests: introduce gen_tar Makefile target

Hi Veronika,

Quoted 18 lines · Stefano Brivio
Quoted 14 lines · On Mon, 27 Apr 2020 21:21:41 +0200 Veronika Kabatova <[email protected]>…

The gen_kselftest_tar.sh always packages *all* selftests and doesn't pass along any variables to make install to influence what should be built. This can result in an early error on the command line ("Unknown tarball format TARGETS=XXX"), or unexpected test failures as the tarball contains tests people wanted to skip on purpose.

Since the makefile already contains all the logic, we can add a target for packaging. Keep the default .gz target the script uses, and actually extend the supported formats by using tar's autodetection.

To not break current workflows, keep the gen_kselftest_tar.sh script as it is, with an added suggestion to use the makefile target instead.

Quoted 9 lines
Quoted 2 lines

I don't see this in my Inbox. Please include everybody get_maintainers script tells you to do.

You can add the Reviewed-by: Stefano Brivio <[email protected]> to the patch when you resend it.

Hi Shuah,

apologies for the complications. As Stefano said, I did indeed include you and the list in the recipients, but it looks like either a setup of our internal smtp server or my git setup refuses to send the emails out to some external recipients. Funnily enough, sending the email to my private account works fine.

I resent the patch from my private account and I can see it on the list now, please let me know there are any issues with the copy in your inbox.

Veronika

Quoted 4 lines

thanks,
-- Shuah