Skip to content

Commit 717a154

Browse files
committed
verify that --skip-extensions made the sanity check pass when using --sanity-check-only
1 parent e6a85de commit 717a154

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/framework/options.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5858,7 +5858,8 @@ def test_sanity_check_only(self):
58585858
self.assertTrue(regex.search(error_msg), "Pattern '%s' should be found in: %s" % (regex.pattern, error_msg))
58595859

58605860
# failing sanity check for extension can be bypassed via --skip-extensions
5861-
self.eb_main(args + ['--skip-extensions'], do_build=True, return_error=True)
5861+
outtxt = self.eb_main(args + ['--skip-extensions'], do_build=True, raise_error=True)
5862+
self.assertTrue("Sanity check for toy successful" in outtxt)
58625863

58635864
def test_skip_extensions(self):
58645865
"""Test use of --skip-extensions."""

0 commit comments

Comments
 (0)