Compare commits

...

1 Commits

Author SHA1 Message Date
Todd Gamblin
0150e965a0
Remove deprecated --spec-file arg from tests
The `spack ci` tests were using the deprecated `--spec-file` argument, which should be
replaced with `--spec`.
2023-12-11 12:33:22 -08:00

View File

@ -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