diff options
author | James Ennis <james.ennis@codethink.com> | 2019-01-09 12:36:02 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2019-01-22 12:32:43 +0000 |
commit | fbd159390e97a26f85bb7e8d6284b14bb77083ff (patch) | |
tree | 78eb6130d68ceedca256fc6f71f6c19d645abe64 /tests/sources/local.py | |
parent | 9eefe8634a95f181593f4f4b3b18564dd0fa0693 (diff) | |
download | buildstream-fbd159390e97a26f85bb7e8d6284b14bb77083ff.tar.gz |
Mark 'old' checkout command as obsolete
This commit marks 'bst checkout' as a 'hidden' command. If used,
the user will be prompted to use the new 'bst artifact checkout'
command.
All tests which used 'bst checkout' have been modified to use
the new artifact sub-command.
This partially solves #822.
Diffstat (limited to 'tests/sources/local.py')
-rw-r--r-- | tests/sources/local.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sources/local.py b/tests/sources/local.py index de12473d9..4a0851d72 100644 --- a/tests/sources/local.py +++ b/tests/sources/local.py @@ -77,7 +77,7 @@ def test_stage_file(cli, tmpdir, datafiles): # Build, checkout result = cli.run(project=project, args=['build', 'target.bst']) result.assert_success() - result = cli.run(project=project, args=['checkout', 'target.bst', checkoutdir]) + result = cli.run(project=project, args=['artifact', 'checkout', 'target.bst', '--directory', checkoutdir]) result.assert_success() # Check that the checkout contains the expected file @@ -92,7 +92,7 @@ def test_stage_directory(cli, tmpdir, datafiles): # Build, checkout result = cli.run(project=project, args=['build', 'target.bst']) result.assert_success() - result = cli.run(project=project, args=['checkout', 'target.bst', checkoutdir]) + result = cli.run(project=project, args=['artifact', 'checkout', 'target.bst', '--directory', checkoutdir]) result.assert_success() # Check that the checkout contains the expected file and directory and other file @@ -117,7 +117,7 @@ def test_stage_symlink(cli, tmpdir, datafiles): # Build, checkout result = cli.run(project=project, args=['build', 'target.bst']) result.assert_success() - result = cli.run(project=project, args=['checkout', 'target.bst', checkoutdir]) + result = cli.run(project=project, args=['artifact', 'checkout', 'target.bst', '--directory', checkoutdir]) result.assert_success() # Check that the checkout contains the expected file and directory and other file |