mesonbuild/meson

Improve error message while importing subproject

Open

#2 098 ouverte le 21 juil. 2017

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)Python (1 465 forks)batch import
bughelp wantedparser/interpreter

Métriques du dépôt

Stars
 (4 978 stars)
Métriques de merge PR
 (Merge moyen 139j 13h) (51 PRs mergées en 30 j)

Description

If you import a wrapped project with errors in its build definition will produce an error: Also couldn't find a fallback subproject in subprojects/<project_name> for the dependency <dep_name>

While the error could just be a wrong spelled source file in subprojects/<project_name>/*/meson.build. We expect it to say that the project has errors not that the project doesn't exist.

As sample: This project imports the subproject without error except that it doesn't build(not completed yet..). This project shows the error while I just added a wrong source file in the subproject build definition.

Guide contributeur