Alon Zakai
94e0458fbb
__cxa_increment_exception_refcount and decrement; fixes #2715
2014-08-26 17:13:27 -07:00
Alon Zakai
6b812d4bcd
test for 32-byte alignment; #2721
2014-08-26 15:24:20 -07:00
Alon Zakai
1efbd0baa4
make stack align to 16 bytes in fastcomp, as the fastcomp backend does; #2721
2014-08-26 14:22:46 -07:00
Jukka Jylänki
a43eec5b9c
Improve test_rand to test all produced bits, not just the lowest one.
2014-08-26 18:31:58 +03:00
Jukka Jylänki
4a744fba1a
Migrate to musl v1.0.3 prng functions. Fixes #2341 . Bump version to 1.23.1 to have cached libc rebuilt with prng routines.
2014-08-26 12:38:42 +03:00
Jukka Jylänki
f104429d58
Add test that rand() produces both even and odd numbers (fails). See #2341 .
2014-08-26 12:36:10 +03:00
Alon Zakai
10d481e283
deprecate old test modes s_x_x
2014-08-25 15:16:01 -07:00
Alon Zakai
11a49ee945
add more test coverage for source maps, and improve existing test
2014-08-25 11:24:22 -07:00
Alon Zakai
f9ca07efa0
make test_source_map more robust
2014-08-25 11:24:22 -07:00
Alon Zakai
efcd418da7
disable test_readdir in non-emcc
2014-08-19 14:54:50 -07:00
Jukka Jylanki
6e35daa63a
Add test for std::map self-assign.
2014-08-19 16:54:48 +03:00
Alon Zakai
0457f493f0
disable closure in non-fastcomp test_exceptions
2014-08-17 16:15:02 -07:00
Alon Zakai
40deab1f4d
de-adjust pointers to run the proper destructor when virtual inheritance is involved; fixes #2682
2014-08-16 14:20:16 -07:00
Alon Zakai
c2788e0bf9
fix testcase 1 of #1714 , proper handling of resumeException, and remove hack in __cxa_begin_catch
2014-08-14 12:55:05 -07:00
Alon Zakai
13ea48e371
Merge pull request #2612 from coolwanglu/coroutine
...
support coroutine
2014-08-13 15:21:38 -07:00
Alon Zakai
53c7b04119
clean up -g handling
2014-08-13 14:21:10 -07:00
Lu Wang
a9e91a7bd3
support coroutine
...
valid asm.js
better test case for coroutine
coding style
fix asm.js
fix test case
save STACK_MAX for coroutine
customized stack size for coroutine
move doc to new stie
fix typo
2014-08-12 14:17:47 -07:00
Alon Zakai
8bd02e7b7f
enable emptyasm testcase in fastcomp
2014-08-11 15:37:26 -07:00
Alon Zakai
65136b45a5
make test_source_map more robust
2014-08-08 18:30:15 -07:00
Alon Zakai
e2ed02b3ec
fix test_stack_varargs (musl stack usage is higher than the js libc, but still the test validly checks that stack usage does not explode)
2014-08-08 11:27:22 -07:00
Alon Zakai
de2583876c
explicitly provide Module to EM_ASM scripts, so that they work even if Module was removed by closure; #2639
2014-08-07 16:50:01 -07:00
Alon Zakai
4264dab989
add fastcomp stack overflow checks and testing
2014-08-07 16:15:54 -07:00
Alon Zakai
d20c2098b1
Merge branch 'webidl-bugfixes' of https://github.com/artillery/emscripten into incoming
2014-08-07 11:46:59 -07:00
Alon Zakai
663dc14afd
export Module for node in test_webidl; #2620
2014-08-07 11:46:08 -07:00
Mark Logan
f14c70c5c6
Enable closure in asm2.test_webidl
2014-08-07 11:21:31 -07:00
Alon Zakai
1e690a23be
webidl test fix, keep test code out of where closure can see it, like normal usage of binder output; #2620
2014-08-07 10:55:05 -07:00
Alon Zakai
8dde202a39
prepare to test webidl under closure; #2620
2014-08-06 17:33:27 -07:00
Alon Zakai
2c9f1123be
slow2 test updates
2014-08-06 10:48:47 -07:00
Alon Zakai
6d847620c5
set last thrown exception in rethrow; fixes #2627
2014-08-05 17:03:08 -07:00
Alon Zakai
3d9e1e8e1b
pass through null pointers and null types in cxa_catch_exception; fixes #2616
2014-08-01 21:50:02 -07:00
Jukka Jylänki
292f6f3593
Fix test_env and test_environ on Windows after previous convention change to default shell.js to store argv[0] in forward slashes on Windows as well.
2014-07-31 23:40:47 +03:00
Jukka Jylänki
c0fcdf4524
Fix test_env on Windows (string comparison failed on \ vs / path delimiter comparisons).
2014-07-30 22:47:32 +03:00
Alon Zakai
02dfc7a760
Merge pull request #2591 from juj/test_line_endings
...
Test and fix line endings issue #2133 .
2014-07-29 11:15:27 -07:00
Alon Zakai
183ad0f557
make test_bad_typeid fastcomp-only
2014-07-29 10:38:49 -07:00
Alon Zakai
9aa8ab3fdd
support exceptions with virtual inheritance, by letting libcxxabi adjust the pointer as an out param; fixes #2531 ; 1.21.9
2014-07-28 16:17:01 -07:00
Alon Zakai
9f5e322341
update test_memcpy_memcmp
2014-07-28 14:55:51 -07:00
Alon Zakai
067064170b
update test_files
2014-07-28 14:50:49 -07:00
Alon Zakai
8c96833c24
use libcxxabi can_catch to check whether to catch an exception, and remove type info hacks; 1.21.8
2014-07-28 14:04:30 -07:00
Jukka Jylänki
97ad2b9f82
Add a new tool that examines the given text file for line endings, and returns whether they are consistent. Adjust the test suite to test that each test file that is being run has proper line endings. This uncovers issue #2133 to show in the test suite.
2014-07-28 23:12:38 +03:00
Alon Zakai
83706e8e54
move test_embed_file_large to other
2014-07-25 13:15:02 -07:00
Alon Zakai
daa166256a
Merge branch 'incoming' of https://github.com/syl22-00/emscripten into incoming
...
Conflicts:
AUTHORS
2014-07-25 13:03:03 -07:00
Sylvain Chevalier
192f5fa59b
Added test for embedding large files
2014-07-25 12:54:03 +02:00
Alon Zakai
f0f423cf46
remove some unnecessary warnings
2014-07-24 20:30:45 -07:00
Alon Zakai
24c46cf6a8
make test_asyncify node-only
2014-07-24 20:26:57 -07:00
Lu Wang
394f308b6f
support ASYNCIFY
2014-07-24 17:30:25 -07:00
Alon Zakai
07ca8af723
disable test_exceptions_alias in s_x_x
2014-07-23 19:15:50 -07:00
Alon Zakai
ce11edd012
disable test_environ in non-fastcomp
2014-07-23 10:33:32 -07:00
Alon Zakai
2293efacac
fix getFuncWrapper for aliased function pointers, fixes #2010
2014-07-22 16:35:00 -07:00
Alon Zakai
a747952515
make environ work by itself; fixes #2557
2014-07-22 15:34:50 -07:00
Alon Zakai
e61582c9ae
update test_env
2014-07-22 14:44:58 -07:00