na4zagin3 / satyrographos

Package manager for SATySFi
GNU Lesser General Public License v3.0
43 stars 13 forks source link

Unit tests fail in 32-bit environments #272

Closed na4zagin3 closed 3 years ago

na4zagin3 commented 3 years ago

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 https://github.com/ocaml/opam-repository/pull/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.