diff options
author | scheibelp <scheibel1@llnl.gov> | 2018-05-01 17:23:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-01 17:23:27 -0700 |
commit | d17372290d3b7c6587e74f3af091ab5ac8d6d830 (patch) | |
tree | bfb755ad5df1b13cb67370ced11a42c91bf863b7 /bin | |
parent | 29b47e0e01af72beb8aeb4f136a3ab0af3d15715 (diff) | |
download | spack-d17372290d3b7c6587e74f3af091ab5ac8d6d830.tar.gz spack-d17372290d3b7c6587e74f3af091ab5ac8d6d830.tar.bz2 spack-d17372290d3b7c6587e74f3af091ab5ac8d6d830.tar.xz spack-d17372290d3b7c6587e74f3af091ab5ac8d6d830.zip |
Fix initialization of defaults in yaml schema validation (#7959)
Fixes #7924
Spack's yaml schema validator was initializing all instances of
unspecified properties with the same object, so that updating the
property for one entry was updating it for others (e.g. updating
versions for one package would update it for other packages).
This updates the schema validator to instantiate defaults with
separate object instances and adds a test to confirm this behavior
(and also confirms #7924 without this change).
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions