Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_other: Add helper function to verify expected failing commands. NFC. #8518

Merged
merged 4 commits into from
Apr 30, 2019

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Apr 29, 2019

No description provided.

@sbc100 sbc100 requested a review from kripken April 29, 2019 22:25
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@@ -18,7 +18,7 @@ from tools import shared
if len(sys.argv) != 2 or \
not re.match(r"^[\w\W_][\w\W_\d]*$", sys.argv[1]) or \
not (sys.argv[1] in dir(shared)):
print('Usage: em-config VAR_NAME')
print('Usage: em-config VAR_NAME', file=sys.stderr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change looks unrelated? seems ok though

@@ -7830,15 +7807,24 @@ def test_binaryen_mem(self):
else:
self.assertEqual(parts[6], str(expect_max))

def expect_fail(self, cmd, **args):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the location here seems a bit odd - perhaps all the way up at the top?

@sbc100 sbc100 merged commit d8929cd into incoming Apr 30, 2019
@sbc100 sbc100 deleted the test_other_helper branch April 30, 2019 23:43
VirtualTim pushed a commit to VirtualTim/emscripten that referenced this pull request May 21, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants