diff --git a/lib/spack/spack/environment/environment.py b/lib/spack/spack/environment/environment.py index e34cffb3beb..62967d13f66 100644 --- a/lib/spack/spack/environment/environment.py +++ b/lib/spack/spack/environment/environment.py @@ -687,6 +687,9 @@ def regenerate(self, concretized_root_specs, force=False): tty.debug("View at %s does not need regeneration." % self.root) return + print(new_root) + print([(s, os.stat(os.path.join(os.path.dirname(new_root), s)).st_mtime) for s in os.listdir(os.path.dirname(new_root))]) + print(specs) if update_method == "exchange" and os.path.isdir(new_root): # If new_root is the newest thing in its directory, no need to update parent = os.path.dirname(new_root) diff --git a/lib/spack/spack/test/cmd/env.py b/lib/spack/spack/test/cmd/env.py index cf349827d72..fcb452844af 100644 --- a/lib/spack/spack/test/cmd/env.py +++ b/lib/spack/spack/test/cmd/env.py @@ -1334,7 +1334,7 @@ def test_env_updates_view_uninstall( check_mpileaks_and_deps_in_view(view_dir) with ev.read("test"): - uninstall("-ay") + print(uninstall("-ay")) check_viewdir_removal(view_dir)