All of lore.kernel.org
 help / color / mirror / Atom feed
* [scripts][PATCH v2] In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a'.
@ 2020-05-07 13:25 jan
  2020-05-07 13:32 ` ✗ patchtest: failure for " Patchwork
  2020-05-08  8:45 ` [OE-core] [scripts][PATCH v2] " Jacob Kroon
  0 siblings, 2 replies; 3+ messages in thread
From: jan @ 2020-05-07 13:25 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jan Vermaete

The script is modified to work with both.  I expect
it will not happen that there are built-in.a and built-in.o
files in the same kernel.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 scripts/tiny/ksize.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/tiny/ksize.py b/scripts/tiny/ksize.py
index 8316b85cb1..db2b9ec39f 100755
--- a/scripts/tiny/ksize.py
+++ b/scripts/tiny/ksize.py
@@ -4,7 +4,7 @@
 #
 # SPDX-License-Identifier: GPL-2.0-or-later
 #
-# Display details of the kernel build size, broken up by built-in.o. Sort
+# Display details of the kernel build size, broken up by built-in.[o,a]. Sort
 # the objects by size. Run from the top level kernel build directory.
 #
 # Author: Darren Hart <dvhart@linux.intel.com>
@@ -59,7 +59,7 @@ class Report:
             p = Popen("ls " + subglob, shell=True, stdout=PIPE, stderr=PIPE, universal_newlines=True)
             for f in p.communicate()[0].splitlines():
                 path = os.path.dirname(f)
-                r.parts.append(Report.create(f, path, str(path) + "/*/built-in.o"))
+                r.parts.append(Report.create(f, path, str(path) + "/*/built-in.[o,a]"))
             r.parts.sort(reverse=True)
 
         for b in r.parts:
@@ -139,7 +139,7 @@ def main():
         else:
             assert False, "unhandled option"
 
-    glob = "arch/*/built-in.o */built-in.o"
+    glob = "arch/*/built-in.[o,a] */built-in.[o,a]"
     vmlinux = Report.create("vmlinux",  "Linux Kernel", glob)
 
     vmlinux.show()
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* ✗ patchtest: failure for In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a'.
  2020-05-07 13:25 [scripts][PATCH v2] In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a' jan
@ 2020-05-07 13:32 ` Patchwork
  2020-05-08  8:45 ` [OE-core] [scripts][PATCH v2] " Jacob Kroon
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2020-05-07 13:32 UTC (permalink / raw)
  To: Jan Vermaete; +Cc: openembedded-core

== Series Details ==

Series: In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a'.
Revision: 1
URL   : https://patchwork.openembedded.org/series/24010/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Patch            [scripts, v2] In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a'.
 Issue             Shortlog does not follow expected format [test_shortlog_format] 
  Suggested fix    Commit shortlog (first line of commit message) should follow the format "<target>: <summary>"



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] [scripts][PATCH v2] In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a'.
  2020-05-07 13:25 [scripts][PATCH v2] In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a' jan
  2020-05-07 13:32 ` ✗ patchtest: failure for " Patchwork
@ 2020-05-08  8:45 ` Jacob Kroon
  1 sibling, 0 replies; 3+ messages in thread
From: Jacob Kroon @ 2020-05-08  8:45 UTC (permalink / raw)
  To: jan, openembedded-core

On 5/7/20 3:25 PM, jan wrote:
> The script is modified to work with both.  I expect
> it will not happen that there are built-in.a and built-in.o
> files in the same kernel.
> 
> Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> ---
>   scripts/tiny/ksize.py | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/scripts/tiny/ksize.py b/scripts/tiny/ksize.py
> index 8316b85cb1..db2b9ec39f 100755
> --- a/scripts/tiny/ksize.py
> +++ b/scripts/tiny/ksize.py
> @@ -4,7 +4,7 @@
>   #
>   # SPDX-License-Identifier: GPL-2.0-or-later
>   #
> -# Display details of the kernel build size, broken up by built-in.o. Sort
> +# Display details of the kernel build size, broken up by built-in.[o,a]. Sort
>   # the objects by size. Run from the top level kernel build directory.
>   #
>   # Author: Darren Hart <dvhart@linux.intel.com>
> @@ -59,7 +59,7 @@ class Report:
>               p = Popen("ls " + subglob, shell=True, stdout=PIPE, stderr=PIPE, universal_newlines=True)
>               for f in p.communicate()[0].splitlines():
>                   path = os.path.dirname(f)
> -                r.parts.append(Report.create(f, path, str(path) + "/*/built-in.o"))
> +                r.parts.append(Report.create(f, path, str(path) + "/*/built-in.[o,a]"))

Is that "," really part of the glob syntax ? I'd expect "[oa]" to work 
just fine.

>               r.parts.sort(reverse=True)
>   
>           for b in r.parts:
> @@ -139,7 +139,7 @@ def main():
>           else:
>               assert False, "unhandled option"
>   
> -    glob = "arch/*/built-in.o */built-in.o"
> +    glob = "arch/*/built-in.[o,a] */built-in.[o,a]"
>       vmlinux = Report.create("vmlinux",  "Linux Kernel", glob)
>   
>       vmlinux.show()
> 
> 
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-08  8:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07 13:25 [scripts][PATCH v2] In the past the file was named 'built-in.o'. Nowadays it is 'built-in.a' jan
2020-05-07 13:32 ` ✗ patchtest: failure for " Patchwork
2020-05-08  8:45 ` [OE-core] [scripts][PATCH v2] " Jacob Kroon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.