spack/lib/spack
Massimiliano Culpo 59a71959e7
Fix wrong hash in spliced specs, and improve unit-tests (#48574)
Modifications:
* Fix a severe bug where a spliced spec has the same hash as the original build spec
* Removed CacheManager in favor of install_mockery. The latter sets up a temporary store, and removes it at the end 
   of the test.
* Deleted a couple of helper functions e.g. _has_dependencies
* Checked that SolverException is raised, rather than Exception (more specific)
* Extended, and renamed the splicing_setup fixture (now called install_specs)
* Added more specific assertions in each test

One test is currently flaky, due to some instability when sorting multiple specs. It's currently marked xfail
2025-01-15 19:43:55 +01:00
..
docs Add version attributes up_to_1, up_to_2, up_to_3 (#38410) 2025-01-15 13:07:17 +01:00
env Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
external Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
llnl Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
spack Fix wrong hash in spliced specs, and improve unit-tests (#48574) 2025-01-15 19:43:55 +01:00
spack_installable Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00