test sanitizers only on amd64
authorDmitry Shachnev <mitya57@debian.org>
Sun, 20 Sep 2020 12:43:21 +0000 (13:43 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 20 Sep 2020 12:43:21 +0000 (13:43 +0100)
Forwarded: not-needed
Last-Update: 2020-05-21

In Debian, sanitizers are available not on all architectures.
For example, libtsan0 is available only on (amd64, arm64, ppc64, ppc64el).

Gbp-Pq: Name test_sanitizers_only_on_amd64.diff

tests/auto/blackbox/testdata/sanitizer/sanitizer.qbs

index e5db199dc7f5fbe7291697fa551b8c14fd85a0bd..44ac54b11f5faadf8692010c3be95522aeaa6068 100644 (file)
@@ -13,7 +13,7 @@ CppApplication {
             // thread sanitizer is not supported
             return sanitizer !== "thread";
         }
-        return true;
+        return qbs.architecture === "x86_64";
     }
 
     condition: {