From a19eaf22a20a3358343ebbc241641a1d16a6471d Mon Sep 17 00:00:00 2001 From: Warren Usui Date: Fri, 23 Mar 2018 00:02:11 +0000 Subject: [PATCH] Document the new '$' suite file Including the $ in a directory of yaml files causes teuthology to randomly select one of the yaml files in that directory. Signed-off-by: Warren Usui --- qa/README | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/qa/README b/qa/README index 0e32ce9f63883..6b3ec220276a9 100644 --- a/qa/README +++ b/qa/README @@ -47,6 +47,18 @@ item), so this is really 2x2 = 4 tests, which are a + b2 + c + d1 a + b2 + c + d2 +A directory with a magic '$' file represents a test where one of the other +items is chosen randomly. For example, + +suites/foo/$ +suites/foo/a.yaml +suites/foo/b.yaml +suites/foo/c.yaml + +is a single test. It will be either a.yaml, b.yaml or c.yaml. This can be +used in conjunction with the '%' file in other directories to run a series of +tests without causing an unwanted increase in the total number of jobs run. + Symlinks are okay. The teuthology code can be found in https://github.com/ceph/teuthology.git -- 2.39.5