Browse Source

Added "basic" option to tox test environments

Just runs `tests/basic_test.sh -m` without building the snap
first. Useful for when you want to re-run the basic_test to verify
that a sporadic issue has been fixed, without rebuilding the snap each
time.

Counterargument: you could always just run `tests/basic_test.sh -m` on
its own. I find it easier to keep one test command in my fingers,
however, rather than having to switch between "tox plus args" and
"something else plus args"

Change-Id: I5ec28864ed41a4e11726df8aee1d31b8ef097f03
changes/23/674323/2
Pete Vander Giessen 2 years ago
parent
commit
b5835060ca
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      tox.ini

+ 5
- 0
tox.ini View File

@ -31,3 +31,8 @@ commands =
commands =
{toxinidir}/tools/multipass_build.sh
{toxinidir}/tests/basic-test.sh -m
[testenv:basic]
# Just run basic_test.sh, with multipass support.
commands =
{toxinidir}/tests/basic-test.sh -m

Loading…
Cancel
Save