xq114 %!s(int64=3) %!d(string=hai) anos
pai
achega
23b04ffc08
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      packages/z/z3/xmake.lua

+ 4 - 2
packages/z/z3/xmake.lua

@@ -74,7 +74,9 @@ package("z3")
     end)
 
     on_test(function (package)
-        os.vrun("z3 -version")
-        os.vrun("python3 -c \"import z3\"")
+        if package:is_plat(os.host()) and package:is_arch(os.arch()) then
+            os.vrun("z3 -version")
+            os.vrun("python3 -c \"import z3\"")
+        end
         assert(package:has_cfuncs("Z3_mk_config", {includes = "z3.h"}))
     end)