jeremyomer / KidneyExchange.jl

MIT License
3 stars 2 forks source link

Run tests fail on Windows #15

Closed jeremyomer closed 1 year ago

jeremyomer commented 1 year ago

Salut @pnavaro, Les tests semblent passer sur Mac et Linux, mais ça ne marche pas sur Windows. On dirait que c'est une question de convention d'écriture des chemins d'accès, car l'erreur vient d'un fichier qui n'est pas trouvé. Je ne sais pas trop comment résoudre ça, ni si c'est utile de le faire. Et je n'ai pas de Windows pour faire les tests. Je colle l'erreur ci-dessous. Qu'en penses-tu ?

Run every algorithm on tests_cycles\MD-00001-00000120 with K=3, L=0 KidneyExchange.jl: Error During Test at D:\a\KidneyExchange.jl\KidneyExchange.jl\test\runtests.jl:6 Got exception outside of a @test ArgumentError: D:\a\KidneyExchange.jl\KidneyExchange.jl\test\data\tests_cycles\MD-00001-00000120.wmd: file not found. Stacktrace: [1] read_kep_file(wmd_file::String, dat_file::String) @ KidneyExchange D:\a\KidneyExchange.jl\KidneyExchange.jl\src\instance\io_kep_file.jl:71 [2] KidneyExchange.Instance(filename::String, K::Int64, L::Int64) @ KidneyExchange D:\a\KidneyExchange.jl\KidneyExchange.jl\src\instance\instance.jl:51 [3] macro expansion @ C:\Users\runneradmin.julia\packages\TimerOutputs\RsWnF\src\TimerOutput.jl:237 [inlined] [4] solve_with_BP(filename::String, K::Int64, L::Int64, bp_params::BP_params, timer::TimerOutput, time_limit::Float64) @ KidneyExchange D:\a\KidneyExchange.jl\KidneyExchange.jl\src\branch&price\branch_and_price.jl:39