Skip to content

Commit a86b6ed

Browse files
committed
Simplify test condition for native mode
1 parent 068725c commit a86b6ed

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/dune

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,14 @@
118118
(name task_one_dep)
119119
(modules task_one_dep)
120120
(libraries qcheck-multicoretests-util qcheck-core qcheck-core.runner domainslib)
121-
(enabled_if (and (= %{arch_sixtyfour} true) (<> %{architecture} power) (<> %{architecture} s390x)))
122-
;; takes forever on bytecode
121+
(enabled_if %{bin-available:ocamlopt}) ;; takes forever on bytecode
123122
(action (run %{test} --verbose)))
124123

125124
(test
126125
(name task_more_deps)
127126
(modules task_more_deps)
128127
(libraries qcheck-multicoretests-util qcheck-core qcheck-core.runner domainslib)
129-
(enabled_if (and (= %{arch_sixtyfour} true) (<> %{architecture} power) (<> %{architecture} s390x)))
130-
;; takes forever on bytecode
128+
(enabled_if %{bin-available:ocamlopt}) ;; takes forever on bytecode
131129
(action (run %{test} --verbose)))
132130

133131
(test

0 commit comments

Comments
 (0)