This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,3 @@
(lang dune 2.9)
(cram enable)

View file

@ -0,0 +1,9 @@
These tests are run with locks. They should not end together (<> expected)
$ dune build --root=. -j 2 --diff-command=diff @all-tests 2>&1 |
> grep "^> *" | uniq -c | [ $(wc -l) -eq 1 ] && echo '=' || echo '<>'
<>
These tests are run without locks. They should end together (= expected)
$ dune build --root=. -j 2 --diff-command=diff @all-tests-nolocks 2>&1 |
> grep "^> *" | uniq -c | [ $(wc -l) -eq 1 ] && echo '=' || echo '<>'
=

View file

@ -0,0 +1 @@
$ sleep 1 && date +%s

View file

@ -0,0 +1,3 @@
(cram
(applies_to :whole_subtree)
(alias all-tests-nolocks))

View file

@ -0,0 +1 @@
$ sleep 1 && date +%s

View file

@ -0,0 +1 @@
$ sleep 1 && date +%s

View file

@ -0,0 +1,4 @@
(cram
(applies_to :whole_subtree)
(locks a)
(alias all-tests))

View file

@ -0,0 +1 @@
$ sleep 1 && date +%s