Skip to content

Commit

Permalink
DEBUG print index in test_index_functions
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Jan 4, 2024
1 parent 7c30735 commit 8d9233b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions test/framework/filetools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions test/framework/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8d9233b

Please sign in to comment.