alco / alco/mix-erlang-tasks

Test code cannot find _data dir

Aperta
#4 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Elixir
Stelle
21
Fork
10
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It seems that because the ct task is setting the ebin dir to something that includes `test_beams`, Common Test expects to find the module_name_SUITE_data directory there as well. However, that is not the case, it is in the original source directory, and appears to be copied to a directory named `test` that is next to `test_beams`. As such, the test code fails to find the data files.

While one can work around this in the test code, it would seem better for the ct task to set the `data_dir` property when invoking ct so that it has the correct path.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.