Skip to content

Commit

Permalink
fix test__list_toolchains
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Jan 3, 2023
1 parent 4ba33e4 commit ba20c2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/framework/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,9 @@ def test__list_toolchains(self):
]
self.eb_main(args, logfile=dummylogfn, raise_error=True)

info_msg = r"INFO List of known toolchains \(toolchainname: module\[,module\.\.\.\]\):"
regex = re.compile(r"INFO List of known toolchains \(toolchain name: module\[, module, \.\.\.\]\):")
logtxt = read_file(self.logfile)
self.assertTrue(re.search(info_msg, logtxt), "Info message with list of known toolchains found in: %s" % logtxt)
self.assertTrue(regex.search(logtxt), "Pattern '%s' should be found in: %s" % (regex.pattern, logtxt))
# toolchain elements should be in alphabetical order
tcs = {
'system': [],
Expand Down

0 comments on commit ba20c2b

Please sign in to comment.