On Tue, Jun 08, 2021 at 09:53:58AM +0200, Martin Kletzander wrote: > Some tests cannot be ran successfully and/or cannot properly probe for all > their > dependency configurations. This allows for skipping of individual test cases > based on the OS and its version. > > Signed-off-by: Martin Kletzander <[email protected]> > --- > ci/build_script.sh | 60 +++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 59 insertions(+), 1 deletion(-) > > diff --git a/ci/build_script.sh b/ci/build_script.sh > index cecbbba0bbc0..36bd51eb8522 100755 > --- a/ci/build_script.sh > +++ b/ci/build_script.sh > @@ -32,7 +32,65 @@ main() { > return 0 > fi > > - $MAKE check > + # Add a way to run all the tests, even the skipped ones, with an > environment > + # variable, so that it can be set fora branch or fork in GitLab.
for a > + if test "$SKIPPED_TESTS" != "force" > + then > + # Skip tests from ci/skipped_tests if this is the right OS version > + # The file > + local os_id ci/build_script.sh is currently listed as #!/bin/sh, but local is a bashism. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org _______________________________________________ Libguestfs mailing list [email protected] https://listman.redhat.com/mailman/listinfo/libguestfs
