]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
suite: fix build_matrix when non-yaml present in % dir
authorSage Weil <sage@redhat.com>
Mon, 4 Aug 2014 16:07:08 +0000 (09:07 -0700)
committerSage Weil <sage@redhat.com>
Mon, 4 Aug 2014 16:07:08 +0000 (09:07 -0700)
commit21e27637d3c7027b1558b26d2200774ec5212c8d
tree80fa6f23c7ce336cd347c3b1e42a2fef5eb1cf9d
parent9f7107b3a9cc91dfd6389cac60ea7f388af06dfd
suite: fix build_matrix when non-yaml present in % dir

First, if we get a non-yaml file, return an empty list.

Second, if we are in a % mode, exclude an empty raw result from the
combination.  Otherwise, we get no resulting jobs.

Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/suite.py