From 0150e965a0415bd6b6cc7d916a9f03d02a08b9b3 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Mon, 11 Dec 2023 12:33:22 -0800 Subject: [PATCH] Remove deprecated `--spec-file` arg from tests The `spack ci` tests were using the deprecated `--spec-file` argument, which should be replaced with `--spec`. --- lib/spack/spack/test/cmd/ci.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/test/cmd/ci.py b/lib/spack/spack/test/cmd/ci.py index 84e9e66bf05..62030e6bc9d 100644 --- a/lib/spack/spack/test/cmd/ci.py +++ b/lib/spack/spack/test/cmd/ci.py @@ -1210,7 +1210,7 @@ def test_push_mirror_contents( dl_dir = working_dir.join("download_dir") if not os.path.exists(dl_dir.strpath): os.makedirs(dl_dir.strpath) - buildcache_cmd("download", "--spec-file", json_path, "--path", dl_dir.strpath) + buildcache_cmd("download", "--spec", json_path, "--path", dl_dir.strpath) dl_dir_list = os.listdir(dl_dir.strpath) assert len(dl_dir_list) == 2