emscripten-core / emscripten-core/emscripten
test_emsize fails on windows on github CI but not on emscripten-releases CI
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
We don't normally run this test on windows in github CI so it went unnoticed.
I have no idea why it would fail, only on windows and only on github CI.
```
FAIL: test_emsize (test_other.other)
----------------------------------------------------------------------
Traceback (most recent call last):
File "unittest\case.py", line 59, in testPartExecutor
File "unittest\case.py", line 593, in run
File "unittest\case.py", line 550, in _callTestMethod
File "C:\Users\circleci\project\tests\test_other.py", line 544, in test_emsize
self.assertContained(expected, output)
File "C:\Users\circleci\project\tests\runner.py", line 765, in assertContained
self.fail("Expected to find '%s' in '%s', diff:\n\n%s\n%s" % (
File "unittest\case.py", line 670, in fail
AssertionError: Expected to find 'section size addr
TYPE 51 0
IMPORT 31 0
FUNCTION 14 0
GLOBAL 9 0
EXPORT 9 0
ELEM 9 0
CODE 1556 0
DATA 77 0
JS 6756 0
Total 8512
' in 'C:\Users\circleci\project\tests\other\test_emsize.wasm :
section size addr
TYPE 51 0
IMPORT 31 0
FUNCTION 14 0
GLOBAL 9 0
EXPORT 9 0
ELEM 9 0
CODE 1556 0
DATA 77 0
JS 6773 0
Total 8529
', diff:
--- expected
+++ actual
@@ -1,3 +1,4 @@
+C:\Users\circleci\project\tests\other\test_emsize.wasm :
section size addr
TYPE 51 0
IMPORT 31 0
@@ -7,6 +8,6 @@
ELEM 9 0
CODE 1556 0
DATA 77 0
-JS 6756 0
-Total 8512
+JS 6773 0
+Total 8529
```
Contributor guide
Assessment
This issue has not been assessed yet.