Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/8] ptest: Strip build host paths from any installed Makefile
@ 2018-11-28  4:53 Douglas Royds
  2018-11-28  4:53 ` [PATCH 1/8] ptest: Reproducibility: " Douglas Royds
                   ` (12 more replies)
  0 siblings, 13 replies; 36+ messages in thread
From: Douglas Royds @ 2018-11-28  4:53 UTC (permalink / raw)
  To: openembedded-core

PTEST_BUILD_HOST_FILES

A common pattern for ptest is to install a Makefile that provides a make check
target. These generated Makefiles are normally full of build host paths, to
hosttools, and to files and scripts within the source or build tree. They also
commonly include the CFLAGS and CPPFLAGS. None of these build host paths
can possibly work on-target, so stripping them has no effect on the success of
the resulting ptests.

PTEST_BUILD_HOST_FILES is a whitespace-separated list of filenames within the
PTEST_PATH that should have build host paths stripped from them at
do_install_ptest_base time. It defaults to "Makefile".

PTEST_BUILD_HOST_PATTERN

Several packages install Makefiles or other build host
configuration files for ptest so that they can run `make check`, for instance.
These build host files commonly include paths and versions of build host tools,
(eg. rpm or perl) whose presence and version depends on the build host distro.

PTEST_BUILD_HOST_PATTERN is an extended regex pattern used to 
optionally strip lines from installed PTEST_BUILD_HOST_FILES.

Douglas Royds (8):
  ptest: Reproducibility: Strip build host paths from any installed Makefile
  ptest: Optionally strip build host tool info from installed files
  openssl ptest: Strip build host paths from configdata.pm
  openssl: Strip perl version from installed ptest configdata.pm file
  acl: Use install instead of cp
  acl: Strip build host tool details from installed ptest file
  attr: Strip build host paths and tool versions from ptest files
  strace: Strip build host tool details from installed ptest Makefile

 meta/classes/ptest.bbclass                    | 18 ++++++++++++++++
 .../openssl/openssl_1.1.1a.bb                 |  2 ++
 meta/recipes-devtools/strace/strace_4.25.bb   | 11 +---------
 meta/recipes-support/attr/acl_2.2.52.bb       | 21 ++++++++-----------
 meta/recipes-support/attr/attr.inc            |  9 +++-----
 5 files changed, 33 insertions(+), 28 deletions(-)

-- 
2.17.1



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

end of thread, other threads:[~2018-11-28 23:47 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28  4:53 [PATCH 0/8] ptest: Strip build host paths from any installed Makefile Douglas Royds
2018-11-28  4:53 ` [PATCH 1/8] ptest: Reproducibility: " Douglas Royds
2018-11-28  4:53 ` [PATCH 2/8] ptest: Optionally strip build host tool info from installed files Douglas Royds
2018-11-28  4:53 ` [PATCH 3/8] openssl ptest: Strip build host paths from configdata.pm Douglas Royds
2018-11-28  4:53 ` [PATCH 4/8] openssl: Strip perl version from installed ptest configdata.pm file Douglas Royds
2018-11-28  4:53 ` [PATCH 5/8] acl: Use install instead of cp Douglas Royds
2018-11-28  8:04   ` Peter Kjellerstedt
2018-11-28 21:25     ` Douglas Royds
2018-11-28  4:53 ` [PATCH 6/8] acl: Strip build host tool details from installed ptest file Douglas Royds
2018-11-28  4:53 ` [PATCH 7/8] attr: Strip build host paths and tool versions from ptest files Douglas Royds
2018-11-28  4:53 ` [PATCH 8/8] strace: Strip build host tool details from installed ptest Makefile Douglas Royds
2018-11-28 20:52 ` [PATCH v2 0/3] ptest: Strip build host paths from any installed Makefile Douglas Royds
2018-11-28 20:52   ` [PATCH v2 1/3] acl: Use install instead of cp Douglas Royds
2018-11-28 20:52   ` [PATCH v2 2/3] acl: Strip build host tool details from installed ptest file Douglas Royds
2018-11-28 20:52   ` [PATCH v2 3/3] attr: Strip build host paths and tool versions from ptest files Douglas Royds
2018-11-28 21:03 ` ✗ patchtest: failure for ptest: Strip build host paths from any installed Makefile (rev3) Patchwork
2018-11-28 21:13 ` [PATCH v3 0/8] ptest: Strip build host paths from any installed Makefile Douglas Royds
2018-11-28 21:13   ` [PATCH v3 1/8] ptest: Reproducibility: " Douglas Royds
2018-11-28 21:13   ` [PATCH v3 2/8] ptest: Optionally strip build host tool info from installed files Douglas Royds
2018-11-28 21:13   ` [PATCH v3 3/8] openssl ptest: Strip build host paths from configdata.pm Douglas Royds
2018-11-28 21:13   ` [PATCH v3 4/8] openssl: Strip perl version from installed ptest configdata.pm file Douglas Royds
2018-11-28 21:13   ` [PATCH v3 5/8] strace: Strip build host tool details from installed ptest Makefile Douglas Royds
2018-11-28 21:13   ` [PATCH v3 6/8] acl: Use install instead of cp Douglas Royds
2018-11-28 21:13   ` [PATCH v3 7/8] acl: Strip build host tool details from installed ptest file Douglas Royds
2018-11-28 21:13   ` [PATCH v3 8/8] attr: Strip build host paths and tool versions from ptest files Douglas Royds
2018-11-28 21:33 ` ✗ patchtest: failure for ptest: Strip build host paths from any installed Makefile (rev4) Patchwork
2018-11-28 23:43 ` [PATCH v4 0/8] ptest: Strip build host paths from any installed Makefile Douglas Royds
2018-11-28 23:43   ` [PATCH v4 1/8] ptest: Reproducibility: " Douglas Royds
2018-11-28 23:43   ` [PATCH v4 2/8] ptest: Optionally strip build host tool info from installed files Douglas Royds
2018-11-28 23:43   ` [PATCH v4 3/8] openssl ptest: Strip build host paths from configdata.pm Douglas Royds
2018-11-28 23:43   ` [PATCH v4 4/8] openssl: Strip perl version from installed ptest configdata.pm file Douglas Royds
2018-11-28 23:43   ` [PATCH v4 5/8] strace: Strip build host tool details from installed ptest Makefile Douglas Royds
2018-11-28 23:43   ` [PATCH v4 6/8] acl: Use install instead of cp Douglas Royds
2018-11-28 23:47     ` Mark Hatle
2018-11-28 23:43   ` [PATCH v4 7/8] acl: Strip build host tool details from installed ptest file Douglas Royds
2018-11-28 23:43   ` [PATCH v4 8/8] attr: Strip build host paths and tool versions from ptest files Douglas Royds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox