diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-02-23 04:09:43 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-05-21 15:09:08 +0200 |
commit | 8d131934345abc5f0ee61da45a74fa09c07195bb (patch) | |
tree | 573edb80735526f27508ed526619d79387572158 /.github | |
parent | 94bb37c1070c1f032d805e0b7f7622cf736ada14 (diff) | |
download | spack-8d131934345abc5f0ee61da45a74fa09c07195bb.tar.gz spack-8d131934345abc5f0ee61da45a74fa09c07195bb.tar.bz2 spack-8d131934345abc5f0ee61da45a74fa09c07195bb.tar.xz spack-8d131934345abc5f0ee61da45a74fa09c07195bb.zip |
Improve error message for inconsistencies in package.py (#21811)
* Improve error message for inconsistencies in package.py
Sometimes directives refer to variants that do not exist.
Make it such that:
1. The name of the variant
2. The name of the package which is supposed to have
such variant
3. The name of the package making this assumption
are all printed in the error message for easier debugging.
* Add unit tests
(cherry picked from commit 7226bd64dc3b46a1ed361f1e9d7fb4a2a5b65200)
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions