all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 92e3d03bb63c3fa845208f1a26d70d8f1cb0e25a 2690 bytes (raw)
name: gnu/packages/patches/vulkan-loader-skip-incompatible-tests.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
 
Certain tests that use the pre-built libraries provided in
tests/framework/data/binaries presume they are running on a 32- or
64-bit x86 host, as these are the only architectures for which the
libraries are provided.

Skip these tests on non-x86 platforms where the tests are certain to
fail.

diff --git a/tests/loader_regression_tests.cpp b/tests/loader_regression_tests.cpp
index 7390596bd..1b0780c65 100644
--- a/tests/loader_regression_tests.cpp
+++ b/tests/loader_regression_tests.cpp
@@ -1014,6 +1014,9 @@ TEST(CreateDevice, ConsecutiveCreateWithoutDestruction) {
 }
 
 TEST(TryLoadWrongBinaries, WrongICD) {
+#if !defined(__x86_64__) && !defined(__i386__)
+    GTEST_SKIP() << "Skip this test as it is not compatible with this architecture.";
+#endif
     FrameworkEnvironment env{};
     env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2));
     env.add_icd(TestICDDetails(CURRENT_PLATFORM_DUMMY_BINARY_WRONG_TYPE).set_is_fake(true));
@@ -1041,6 +1044,9 @@ TEST(TryLoadWrongBinaries, WrongICD) {
 }
 
 TEST(TryLoadWrongBinaries, WrongExplicit) {
+#if !defined(__x86_64__) && !defined(__i386__)
+    GTEST_SKIP() << "Skip this test as it is not compatible with this architecture.";
+#endif
     FrameworkEnvironment env{};
     env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2));
     env.get_test_icd().physical_devices.emplace_back("physical_device_0");
@@ -1077,6 +1083,9 @@ TEST(TryLoadWrongBinaries, WrongExplicit) {
 }
 
 TEST(TryLoadWrongBinaries, WrongImplicit) {
+#if !defined(__x86_64__) && !defined(__i386__)
+    GTEST_SKIP() << "Skip this test as it is not compatible with this architecture.";
+#endif
     FrameworkEnvironment env{};
     env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2));
     env.get_test_icd().physical_devices.emplace_back("physical_device_0");
@@ -1114,6 +1123,9 @@ TEST(TryLoadWrongBinaries, WrongImplicit) {
 }
 
 TEST(TryLoadWrongBinaries, WrongExplicitAndImplicit) {
+#if !defined(__x86_64__) && !defined(__i386__)
+    GTEST_SKIP() << "Skip this test as it is not compatible with this architecture.";
+#endif
     FrameworkEnvironment env{};
     env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2));
     env.get_test_icd().physical_devices.emplace_back("physical_device_0");
@@ -1159,6 +1171,9 @@ TEST(TryLoadWrongBinaries, WrongExplicitAndImplicit) {
 }
 
 TEST(TryLoadWrongBinaries, WrongExplicitAndImplicitErrorOnly) {
+#if !defined(__x86_64__) && !defined(__i386__)
+    GTEST_SKIP() << "Skip this test as it is not compatible with this architecture.";
+#endif
     FrameworkEnvironment env{};
     env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2));
     env.get_test_icd().physical_devices.emplace_back("physical_device_0");

debug log:

solving 92e3d03bb6 ...
found 92e3d03bb6 in https://yhetil.org/guix/1f4f4283b03ab0020443a9e23c01dd840819e1f0.1683661648.git.simon@simonsouth.net/ ||
	https://yhetil.org/guix/0640e02e68cea6ccbacba3b5b436cc0d722497d0.1685883140.git.simon@simonsouth.net/

applying [1/1] https://yhetil.org/guix/1f4f4283b03ab0020443a9e23c01dd840819e1f0.1683661648.git.simon@simonsouth.net/
diff --git a/gnu/packages/patches/vulkan-loader-skip-incompatible-tests.patch b/gnu/packages/patches/vulkan-loader-skip-incompatible-tests.patch
new file mode 100644
index 0000000000..92e3d03bb6

1:21: trailing whitespace.
 
1:31: trailing whitespace.
 
1:41: trailing whitespace.
 
1:51: trailing whitespace.
 
1:61: trailing whitespace.
 
Checking patch gnu/packages/patches/vulkan-loader-skip-incompatible-tests.patch...
Applied patch gnu/packages/patches/vulkan-loader-skip-incompatible-tests.patch cleanly.
warning: 5 lines add whitespace errors.

skipping https://yhetil.org/guix/0640e02e68cea6ccbacba3b5b436cc0d722497d0.1685883140.git.simon@simonsouth.net/ for 92e3d03bb6
index at:
100644 92e3d03bb63c3fa845208f1a26d70d8f1cb0e25a	gnu/packages/patches/vulkan-loader-skip-incompatible-tests.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

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

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.