Skip to content

Commit

Permalink
update expect-test to work on 32-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmid committed Jan 31, 2023
1 parent 28d1889 commit 599a3a7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/dune
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
(preprocess (pps ppx_deriving.show ppx_deriving.eq))
(action (run ./%{test} --verbose)))

(rule
(enabled_if (= %{arch_sixtyfour} true))
(action (copy mutable_set_v5.expected.64 mutable_set_v5.expected)))

(rule
(enabled_if (= %{arch_sixtyfour} false))
(action (copy mutable_set_v5.expected.32 mutable_set_v5.expected)))

(test
(name mutable_set_v5)
Expand Down
24 changes: 24 additions & 0 deletions test/mutable_set_v5.expected.32
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
random seed: 229109553
generated error fail pass / total time test name
[ ] 0 0 0 0 / 100 0.0s STM sequential tests[ ] 0 0 0 0 / 100 0.0s STM sequential tests (generating)[✗] 2 0 1 1 / 100 0.0s STM sequential tests

--- Failure --------------------------------------------------------------------

Test STM sequential tests failed (2 shrink steps):

(Add -942638288)
(Remove -942638288)
Cardinal


+++ Messages ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Messages for test STM sequential tests:

Results incompatible with model

(Add -942638288) : ()
(Remove -942638288) : Some (-942638288)
Cardinal : 1
================================================================================
failure (1 tests failed, 0 tests errored, ran 1 tests)
Expand Down
File renamed without changes.

0 comments on commit 599a3a7

Please sign in to comment.