Skip to content

Commit

Permalink
Run tests in order of their definition
Browse files Browse the repository at this point in the history
This makes it easier to see which test hangs on CI when that happens.
  • Loading branch information
polytypic committed Jan 27, 2025
1 parent 224dc6a commit 6ab3d3c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,6 @@
unix)
(action
(progn
(run %{test} -- "^Event$" 0)
(run %{test} -- "^Lazy$" 0)
(run %{test} -- "^Lazy$" 1)
(run %{test} -- "^Semaphore$" 0)
(run %{test} -- "^Semaphore$" 1)
(run %{test} -- "^Sem$" 0)
(run %{test} -- "^Sem$" 1)
(run %{test} -- "^Sem$" 2)
(run %{test} -- "^Sem$" 3)
(run %{test} -- "^Non-cancelable ops$" 0)
(run %{test} -- "^Mutex and Condition$" 0)
(run %{test} -- "^Mutex and Condition$" 1)
(run %{test} -- "^Mutex and Condition$" 2)
Expand All @@ -52,6 +42,16 @@
(run %{test} -- "^Rwlock and Rwlock.Condition$" 4)
(run %{test} -- "^Rwlock and Rwlock.Condition$" 5)
(run %{test} -- "^Rwlock and Rwlock.Condition$" 6)
(run %{test} -- "^Semaphore$" 0)
(run %{test} -- "^Semaphore$" 1)
(run %{test} -- "^Sem$" 0)
(run %{test} -- "^Sem$" 1)
(run %{test} -- "^Sem$" 2)
(run %{test} -- "^Sem$" 3)
(run %{test} -- "^Lazy$" 0)
(run %{test} -- "^Lazy$" 1)
(run %{test} -- "^Event$" 0)
(run %{test} -- "^Non-cancelable ops$" 0)
;;
)))

Expand Down

0 comments on commit 6ab3d3c

Please sign in to comment.