mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-11-22 07:15:22 +00:00
Allow running only a single test
If the environment variable RUN_JUST_ONE is set then skip any test which is not numerically equal to it. Signed-off-by: Icarus Sparry <icarus.w.sparry@intel.com>
This commit is contained in:
@@ -40,6 +40,11 @@ EOF
|
||||
done
|
||||
}
|
||||
|
||||
# If the variable RUN_JUST_ONE is set then only run that test
|
||||
maybeskip() {
|
||||
[ -z "$RUN_JUST_ONE" ] || [ "$RUN_JUST_ONE" -eq "$BATS_TEST_NUMBER" ] || skip
|
||||
}
|
||||
|
||||
set_os_release() {
|
||||
local ver=$1
|
||||
local bundle=$2
|
||||
|
||||
Reference in New Issue
Block a user