unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86.
@ 2023-05-06  9:04 Christopher Baines
  2023-05-08 14:54 ` Simon South
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Baines @ 2023-05-06  9:04 UTC (permalink / raw)
  To: 63325

* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Only run tests on x86.
---
 gnu/packages/vulkan.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index b0d968938b..f03c3dbc6f 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -228,8 +228,10 @@ (define-public vulkan-loader
     (build-system cmake-build-system)
     (arguments
      (list
-      #:tests? (not (or (%current-target-system)
-                        (target-riscv64?)))
+      ;; TODO: Some tests seem to assume running on x86,
+      ;; e.g. TryLoadWrongBinaries
+      #:tests? (and (target-x86?)
+                    (not (%current-target-system)))
       #:configure-flags
       #~(list (string-append "-DVULKAN_HEADERS_INSTALL_DIR="
                              (dirname (dirname

base-commit: 64086a4fa449a9f6d2f835fcdf5498222b309e3a
-- 
2.39.1





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

* [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86.
  2023-05-06  9:04 [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86 Christopher Baines
@ 2023-05-08 14:54 ` Simon South
  2023-05-09 20:53   ` Simon South
  0 siblings, 1 reply; 6+ messages in thread
From: Simon South @ 2023-05-08 14:54 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 63325

Christopher Baines <mail@cbaines.net> writes:
> * gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Only run tests on x86.

Christopher,

Disabling tests altogether seems extreme considering the only truly
x86-dependent ones appear to be five of the "TryLoadWrongBinaries" tests
(only these fail on AArch64), and this can perhaps be fixed by modifying
tests/framework/data/CMakeLists.txt to recreate the prebuilt binaries
included in the source package.

At any rate, I'd appreciate a day or two to see if I can come up with a
more nuanced patch that preserves the test suite on at least AArch64.

-- 
Simon South
simon@simonsouth.net




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

* [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86.
  2023-05-08 14:54 ` Simon South
@ 2023-05-09 20:53   ` Simon South
  2023-05-11 12:59     ` Simon Tournier
  0 siblings, 1 reply; 6+ messages in thread
From: Simon South @ 2023-05-09 20:53 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 63325

Simon South <simon@simonsouth.net> writes:
> At any rate, I'd appreciate a day or two to see if I can come up with
> a more nuanced patch that preserves the test suite on at least
> AArch64.

To avoid hijacking this issue further I've opened one of my own, #63400,
with a patch that disables only the x86-specific tests on non-x86
platforms.

https://issues.guix.gnu.org/63400

Christopher, does this fix things for you as well?  For which
architecture are you building?

-- 
Simon South
simon@simonsouth.net




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

* [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86.
  2023-05-09 20:53   ` Simon South
@ 2023-05-11 12:59     ` Simon Tournier
  2023-05-15 19:04       ` bug#63325: " Efraim Flashner
  0 siblings, 1 reply; 6+ messages in thread
From: Simon Tournier @ 2023-05-11 12:59 UTC (permalink / raw)
  To: Simon South, Christopher Baines; +Cc: 63325

Hi,

On mar., 09 mai 2023 at 16:53, Simon South <simon@simonsouth.net> wrote:

> https://issues.guix.gnu.org/63400

I am in favor to close this submission and consider #63400.  Chris,
WDYT?

Cheers,
simon




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

* bug#63325: [PATCH] gnu: vulkan-loader: Only run tests on x86.
  2023-05-11 12:59     ` Simon Tournier
@ 2023-05-15 19:04       ` Efraim Flashner
  2023-05-15 20:16         ` [bug#63325] " Christopher Baines
  0 siblings, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2023-05-15 19:04 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 63325-done, Christopher Baines, Simon South

[-- Attachment #1: Type: text/plain, Size: 735 bytes --]

On Thu, May 11, 2023 at 02:59:57PM +0200, Simon Tournier wrote:
> Hi,
> 
> On mar., 09 mai 2023 at 16:53, Simon South <simon@simonsouth.net> wrote:
> 
> > https://issues.guix.gnu.org/63400
> 
> I am in favor to close this submission and consider #63400.  Chris,
> WDYT?

Having come to basically the same patch (sorry Chris!) and having pushed
it, I'm going to close this patch and we can continue in 63400, which so
far has us skipping enough tests to pass on aarch64 but still fail on
other architectures.

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86.
  2023-05-15 19:04       ` bug#63325: " Efraim Flashner
@ 2023-05-15 20:16         ` Christopher Baines
  0 siblings, 0 replies; 6+ messages in thread
From: Christopher Baines @ 2023-05-15 20:16 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 63325-done

[-- Attachment #1: Type: text/plain, Size: 839 bytes --]


Efraim Flashner <efraim@flashner.co.il> writes:

> [[PGP Signed Part:Good signature from 41AAE7DCCA3D8351 Efraim Flashner <efraim@flashner.co.il> (trust undefined) created at 2023-05-15T20:04:37+0100 using RSA]]
> On Thu, May 11, 2023 at 02:59:57PM +0200, Simon Tournier wrote:
>> Hi,
>> 
>> On mar., 09 mai 2023 at 16:53, Simon South <simon@simonsouth.net> wrote:
>> 
>> > https://issues.guix.gnu.org/63400
>> 
>> I am in favor to close this submission and consider #63400.  Chris,
>> WDYT?
>
> Having come to basically the same patch (sorry Chris!) and having pushed
> it, I'm going to close this patch and we can continue in 63400, which so
> far has us skipping enough tests to pass on aarch64 but still fail on
> other architectures.

No worries, I wasn't planning to merge this before looking at #63400
anyway.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2023-05-15 20:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-06  9:04 [bug#63325] [PATCH] gnu: vulkan-loader: Only run tests on x86 Christopher Baines
2023-05-08 14:54 ` Simon South
2023-05-09 20:53   ` Simon South
2023-05-11 12:59     ` Simon Tournier
2023-05-15 19:04       ` bug#63325: " Efraim Flashner
2023-05-15 20:16         ` [bug#63325] " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).