File: non-intel-skip-intel-tests

package info (click to toggle)
picard-tools 3.3.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 155,492 kB
  • sloc: java: 88,779; python: 282; xml: 266; sh: 199; makefile: 39; javascript: 9
file content (15 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Michael R. Crusoe <crusoe@debian.org>
Subject: Skip Intel tests on non-Intel
--- a/src/test/java/picard/IntelInflaterDeflaterLoadTest.java
+++ b/src/test/java/picard/IntelInflaterDeflaterLoadTest.java
@@ -56,6 +56,10 @@
             throw new SkipException(componentName + " is not available on this platform");
         }
 
+	if (SystemUtils.OS_ARCH != null && !SystemUtils.OS_ARCH.equals("amd64")) {
+            throw new SkipException(componentName + " is not available for this architecture");
+        }
+
         if (SystemUtils.OS_ARCH != null && SystemUtils.OS_ARCH.equals("ppc64le")) {
             throw new SkipException(componentName + " is not available for this architecture");
         }