Skip to content

Commit

Permalink
no WASMOO
Browse files Browse the repository at this point in the history
  • Loading branch information
hhugo committed Dec 8, 2024
1 parent c5b9b1f commit 8c8c78b
Showing 1 changed file with 42 additions and 43 deletions.
85 changes: 42 additions & 43 deletions compiler/tests-io/dune
Original file line number Diff line number Diff line change
@@ -1,73 +1,72 @@
(tests
(names cat)
(modes
js
wasm)
(modes js wasm)
(action
(pipe-stdout
(run printf "echo ☠")
(run node %{test}))))
(run printf "echo ☠")
(run node %{test}))))

(tests
(names cat_nat)
(modes
(best exe))
(action
(pipe-stdout
(run printf "echo ☠")
(run %{test}))))
(pipe-stdout
(run printf "echo ☠")
(run %{test}))))

(rule
(copy cat.ml cat_nat.ml))
(copy cat.ml cat_nat.ml))

(tests
(names md5)
(modes
js
wasm)
(modes js wasm)
(action
(progn
(run node %{test} %{dep:some-random-file})
(run node %{test} %{dep:some-random-file} %{dep:some-random-file})
(run node %{test} -offset 2000 -length 4000 %{dep:some-random-file})
(pipe-stdout
(echo "tests")
(run node %{test}))
(pipe-stdout
(echo "teststeststests")
(run node %{test} -offset 5 -length 5))
(pipe-stdout
(echo "teststeststests")
(run node %{test} -offset 2 -length 5)))))
(progn
(run node %{test} %{dep:some-random-file})
(run node %{test} %{dep:some-random-file} %{dep:some-random-file})
(run node %{test} -offset 2000 -length 4000 %{dep:some-random-file})
(pipe-stdout
(echo "tests")
(run node %{test}))
(pipe-stdout
(echo "teststeststests")
(run node %{test} -offset 5 -length 5))
(pipe-stdout
(echo "teststeststests")
(run node %{test} -offset 2 -length 5)))))

(tests
(names md5_nat)
(modes (best exe))
(modes
(best exe))
(action
(progn
(run %{test} %{dep:some-random-file})
(run %{test} %{dep:some-random-file} %{dep:some-random-file})
(run %{test} -offset 2000 -length 4000 %{dep:some-random-file})
(pipe-stdout
(echo "tests")
(run %{test}))
(pipe-stdout
(echo "teststeststests")
(run %{test} -offset 5 -length 5))
(pipe-stdout
(echo "teststeststests")
(run %{test} -offset 2 -length 5)))))
(progn
(run %{test} %{dep:some-random-file})
(run %{test} %{dep:some-random-file} %{dep:some-random-file})
(run %{test} -offset 2000 -length 4000 %{dep:some-random-file})
(pipe-stdout
(echo "tests")
(run %{test}))
(pipe-stdout
(echo "teststeststests")
(run %{test} -offset 5 -length 5))
(pipe-stdout
(echo "teststeststests")
(run %{test} -offset 2 -length 5)))))

(rule
(copy md5.ml md5_nat.ml))
(copy md5.ml md5_nat.ml))

(rule
(copy ../../manual/files/performances/time.png some-random-file))
(copy ../../manual/files/performances/time.png some-random-file))

(rule
(alias runtest)
(action (diff md5.expected md5_nat.expected)))
(action
(diff md5.expected md5_nat.expected)))

(rule
(alias runtest)
(action (diff cat.expected cat_nat.expected)))
(action
(diff cat.expected cat_nat.expected)))

0 comments on commit 8c8c78b

Please sign in to comment.