na4zagin3/satyrographos

Unit tests fail in 32-bit environments

na4zagin3 opened this issue · 0 comments

Apparently, unit tests fail in 32-bit environments (i.e., arm32 and x86_32 [!]).

They are just false positive---snapshot test caught changes in order of elements in unordered sets---because iterating order of a graph edges (or vertices) is apparently architecture-sensitive.

Here are raw log files taken from the CI for ocaml/opam-repository#18283

x86_32.txt
arm32.txt

How can I solve that? Although fixing snapshot test in dependencyGraph.ml is straightforward, I'm not sure how I can normalize DOT files produced by ocamlgraph.