etalab / transport-site

Rendre disponible, valoriser et améliorer les données transports
https://transport.data.gouv.fr
184 stars 28 forks source link

Skip d'un test qui échoue sur Mac M1 #3919

Closed thbar closed 1 month ago

thbar commented 1 month ago

Voir:

Le test qui vérifie la bonne exécution de Rambo échoue en systématique sur Mac M1.

Je le "skippe" (pending) explicitement via cette PR car ça pollue le résultat chez moi.

..sh: /Users/thbar/git/transport/transport-site/_build/test/lib/rambo/priv/rambo-macarm: No such file or directory
sh: line 0: exec: /Users/thbar/git/transport/transport-site/_build/test/lib/rambo/priv/rambo-macarm: cannot execute: No such file or directory

  1) test rambo rust wrapper compiles and runs (TransportWeb.BuildTest)
     apps/transport/test/build_test.exs:30
     ** (MatchError) no match of right hand side value: {:error, "rambo exited with 126"}
     code: {:ok, %{out: "hello\n"}} = Rambo.run("echo", ["hello"])
     stacktrace:
       test/build_test.exs:31: (test)
thbar commented 1 month ago

Bon week-end 🌴☀️

Merci toi aussi ! (et oui bonne idée :smile:)