From 8d9233bef3893f89df36191eb858be0281223c00 Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Thu, 4 Jan 2024 12:14:32 +0100 Subject: [PATCH] DEBUG print index in test_index_functions --- test/framework/filetools.py | 2 ++ test/framework/suite.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/framework/filetools.py b/test/framework/filetools.py index 5d127914e7..0a99524ecf 100644 --- a/test/framework/filetools.py +++ b/test/framework/filetools.py @@ -2456,6 +2456,8 @@ def test_index_functions(self): regex = re.compile(r"^== found valid index for %s, so using it\.\.\.$" % self.test_prefix) self.assertTrue(regex.match(stdout.strip()), "Pattern '%s' matches with: %s" % (regex.pattern, stdout)) + import pprint + pprint.pprint(sorted(index)) self.assertEqual(len(index), 26) for fn in expected: self.assertIn(fn, index) diff --git a/test/framework/suite.py b/test/framework/suite.py index e109848340..3b0947ca26 100755 --- a/test/framework/suite.py +++ b/test/framework/suite.py @@ -119,8 +119,8 @@ # call suite() for each module and then run them all # note: make sure the options unit tests run first, to avoid running some of them with a readily initialized config -tests = [gen, d, bl, o, r, ef, ev, ebco, ep, e, mg, m, mt, f, run, a, robot, b, v, g, tcv, tc, t, c, s, lic, f_c, - tw, p, i, pkg, env, et, st, h, ct, lib, u, es, ou] +tests = [gen, d, bl, o, r, ef, ev, ebco, ep, e, mg, m, mt, f] #, run, a, robot, b, v, g, tcv, tc, t, c, s, lic, f_c, + #tw, p, i, pkg, env, et, st, h, ct, lib, u, es, ou] SUITE = unittest.TestSuite([x.suite() for x in tests]) res = unittest.TextTestRunner().run(SUITE)