From: Glenn Washburn <development@efficientek.com>
To: Daniel Kiper <dkiper@net-space.pl>,
Vladimir Serbinenko <phcoder@gmail.com>,
grub-devel@gnu.org
Cc: Glenn Washburn <development@efficientek.com>
Subject: [PATCH 0/2] Add check-native and check-nonnative as make targets
Date: Wed, 12 Jan 2022 20:19:02 -0600 [thread overview]
Message-ID: <cover.1642038982.git.development@efficientek.com> (raw)
Tests can be put into two categories, native (tests that run on the build
system) and non-native (tests run in QEMU). For any two targets (even of
completely different architectures), the native tests will be running the
same binary code (because they will be compiled for and run on the build
machine), and thus will have the same result. So when building and
running tests for multiple targets on a build machine, the native tests on
need be run once. This can decrease the runtime of a multi-target test run
significantly (like hours). This patch series makes it possible to run only
run the non-native tests (skipping the native tests) by partitioning the set
of tests into native and non-native based on whether QEMU is used by the test.
The first patch is not necessary, but makes things look cleaner.
Phcoder, could you confirm that the logic above is sound?
Glenn
Glenn Washburn (2):
conf/Makefile.common: Order alphabetically variables
tests: Add check-native and check-nonnative make targets
Makefile.am | 9 +++
Makefile.util.def | 164 +++++++++++++++++++++----------------------
conf/Makefile.common | 22 +++---
gentpl.py | 6 +-
4 files changed, 106 insertions(+), 95 deletions(-)
--
2.27.0
next reply other threads:[~2022-01-13 2:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 2:19 Glenn Washburn [this message]
2022-01-13 2:19 ` [PATCH 1/2] conf/Makefile.common: Order alphabetically variables Glenn Washburn
2022-01-13 2:19 ` [PATCH 2/2] tests: Add check-native and check-nonnative make targets Glenn Washburn
2022-02-08 16:10 ` Daniel Kiper
2022-02-08 21:50 ` Glenn Washburn
2022-02-03 18:00 ` [PATCH 0/2] Add check-native and check-nonnative as " Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1642038982.git.development@efficientek.com \
--to=development@efficientek.com \
--cc=dkiper@net-space.pl \
--cc=grub-devel@gnu.org \
--cc=phcoder@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.