All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add check-native and check-nonnative as make targets
@ 2022-01-13  2:19 Glenn Washburn
  2022-01-13  2:19 ` [PATCH 1/2] conf/Makefile.common: Order alphabetically variables Glenn Washburn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Glenn Washburn @ 2022-01-13  2:19 UTC (permalink / raw)
  To: Daniel Kiper, Vladimir Serbinenko, grub-devel; +Cc: Glenn Washburn

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



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

end of thread, other threads:[~2022-02-08 21:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-13  2:19 [PATCH 0/2] Add check-native and check-nonnative as make targets Glenn Washburn
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

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.