spack/lib/spack
scheibelp d17372290d
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).
2018-05-01 17:23:27 -07:00
..
docs Document how to run unit tests with print statements (#7860) 2018-04-28 17:59:33 +02:00
env Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
external Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
llnl Avoid double 'lib' for packages whose name already starts with lib (#7651) 2018-03-31 17:33:41 +02:00
spack Fix initialization of defaults in yaml schema validation (#7959) 2018-05-01 17:23:27 -07:00