Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -988,15 +988,15 @@ def build():
int bar1(const char* text)
{
int ret = 0;
/*if (setjmp(jmpbuf) == 0)
if (setjmp(jmpbuf) == 0)
{
ret = bar0(text);
}
else
{
printf("setjmp() returned non-zero.\\n");
throw std::runtime_error("deliberate exception");
}*/
}
throw std::runtime_error("deliberate exception");
return ret;
}
Expand Down Expand Up @@ -1029,6 +1029,7 @@ def build():
log(f'text is:\n{textwrap.indent(text, " ")}')
assert e
assert 'module="env" function="__c_longjmp": tag import requires a WebAssembly.Tag' in text
log(f'Have detected expected exception from Pyodide.')
else:
run(f'cd {testdir} && cibuildwheel{cibw_pyodide_args}', env_extra=env_extra)
run(f'ls -ld {testdir}/wheelhouse/*')
Expand Down
Loading