Michael J. Bishop
2ff1887ef9
Added test for passing two separate arrays of attributes, each
...
with different stride values but both tightly packed. The test case
test both passing explicit and implicit stride (0 means
"tightly packed").
2013-04-17 15:52:38 -04:00
Alon Zakai
5891371e0c
fix test/cases/legalizer_ta2.ll for asm1
2013-04-17 11:46:03 -07:00
Alon Zakai
2be92943d1
enable asm in -O1 and prepare to add testing
2013-04-17 11:12:38 -07:00
Bruce Mitchener
4496bd1f5f
Use a generic constraint for test_inlinejs.
...
This being generic lets it work with multiple target triples
rather than being x86-specific. This works under both the
current target triple and le32-unknown-nacl.
2013-04-17 18:00:39 +07:00
Alon Zakai
985765d9a5
Merge pull request #1044 from imvu/embind_update
...
Embind update
2013-04-16 14:03:43 -07:00
Alon Zakai
3cbdfcc318
Merge pull request #1038 from juj/fix_test_asm_pgo_windows
...
Fix test_asm_pgo on Windows.
2013-04-16 13:48:00 -07:00
Alon Zakai
17da251d33
default memory initializer to off, and add testing coverage
2013-04-15 10:45:48 -07:00
Alon Zakai
6ee3943a67
update test_unistd_misc
2013-04-14 18:54:31 -07:00
Alon Zakai
8bd76a3488
add more i64Subtract testing
2013-04-14 09:47:40 -07:00
Alon Zakai
2cdb053aed
add i64 testing
2013-04-14 09:39:23 -07:00
Alon Zakai
252ca4a148
fix overflow detection in i64 uadd, and add testcase
2013-04-13 18:13:57 -07:00
Alon Zakai
346766e19c
disable memory init file in benchmarks
2013-04-13 15:33:47 -07:00
Alon Zakai
447c639b3b
fix legalization of nonexistent call return values
2013-04-13 09:27:31 -07:00
Alon Zakai
f0c69a1cfe
handle inline struct definitions (assuming zeroinit) in illegal insertvalue, and add testcase based on gmp.js
2013-04-12 16:55:36 -07:00
Alon Zakai
94aa7b9170
coerce arguments to cxa_find_matching_catch; enable remaining asm.js exceptions tests
2013-04-12 15:52:13 -07:00
Alon Zakai
aeb63def95
enable two more exceptions tests in asm.js
2013-04-12 15:44:56 -07:00
Alon Zakai
3a4bb38d59
fix __THREW__ initialization in asm.js invokes; test_exceptions now enabled and working in asm.js
2013-04-12 15:41:12 -07:00
Bruce Mitchener
01c2ac873f
Stop using cxa_demangle in embind.
...
With an updated libcxx, we no longer have libcxxabi in the
include path, so we can't have the demangling code in the
build.
2013-04-12 14:27:35 +03:00
Chad Austin
545dc8ef97
support overloaded index access
2013-04-12 14:27:32 +03:00
Chad Austin
9baac4cd7c
Add support for index access to value_tuple and value_struct
2013-04-12 14:27:30 +03:00
Jukka Jylanki
f80caa7c2d
Add support for overloading class member functions and class static functions based on function argument count.
2013-04-12 14:27:23 +03:00
Chad Austin
f508d6306f
Allow value_tuple and value_struct to be registered as global constants. This involved reworking how value_struct and value_tuple are registered.
2013-04-12 14:27:19 +03:00
Chad Austin
d4bf6fbe29
Add support for global constants.
2013-04-12 14:27:18 +03:00
Jukka Jylanki
616b5c3579
Add support for registering overloads of free functions based on argument count.
2013-04-12 14:27:16 +03:00
Jukka Jylanki
783c443cc8
Clean up issues found with jshint.
2013-04-12 14:27:14 +03:00
Jukka Jylanki
e8afd54698
Add support for binding multiple class constructors with embind. The ctors must have different number of arguments each.
2013-04-12 14:27:10 +03:00
Chad Austin
fbcb6a4b34
add value_struct and value_tuple support for member function getters and setters.
2013-04-12 14:27:06 +03:00
Chad Austin
ecb01ee4b1
Support accessing value struct and tuple fields and elements via base class pointers.
2013-04-12 14:27:04 +03:00
Chad Austin
e5af621a18
Generalize support for struct fields
2013-04-12 14:27:03 +03:00
Jukka Jylanki
92dee92442
Migrate embind tests from IMVU repository to emscripten repository.
2013-04-12 14:26:55 +03:00
Andy Friesen
3b6ea45565
emscripten::internal::optional is now copyable.
...
Fix JSInterface::JSInterface copy constructor to take a const&
2013-04-12 14:23:47 +03:00
Alon Zakai
f97347ec11
add test for addFunction
2013-04-11 17:33:01 -07:00
Alon Zakai
010747cad6
Merge pull request #1050 from arlolra/setgroups
...
Implements setgroups
2013-04-11 10:00:33 -07:00
Jukka Jylänki
1c4f763de4
Extend the use of response files to cover the case when emcc invokes emscripten.py, so that Windows command line length limitations don't break the test_asm_pgo on Windows.
2013-04-11 10:42:14 +03:00
Alon Zakai
f57081e7f1
finish box2d benchmark
2013-04-10 16:12:18 -07:00
Alon Zakai
82fd5dba17
box2d benchmark fixes
2013-04-10 16:02:03 -07:00
Alon Zakai
f84537c333
more work towards box2d benchmark
2013-04-10 15:53:50 -07:00
Alon Zakai
a4a20535e7
work towards box2d benchmark
2013-04-10 15:45:53 -07:00
Alon Zakai
0c1958f51d
box2d v2.2.1 (from box2d.js)
2013-04-10 15:29:31 -07:00
Alon Zakai
37ea1bd02c
fix sanity.test_emcc
2013-04-10 15:28:01 -07:00
Alon Zakai
89cb346773
fix test_sscanf_skip
2013-04-10 14:31:35 -07:00
Alon Zakai
884dada673
fix test_poppler
2013-04-10 12:48:49 -07:00
Alon Zakai
f58e77da33
make noInitialRun and INVOKE_RUN refer to main(), not run(). run() need not call main(), and is necessary to set things up even if you call main() manually
2013-04-09 20:34:37 -07:00
Arlo Breault
294bdda3b3
implement setgroups
2013-04-09 17:53:10 -07:00
Alon Zakai
bba3cd9cf5
split out dynamic cast tests
2013-04-09 17:26:56 -07:00
Alon Zakai
c44aaae800
restore memory initialization and testing
2013-04-09 17:26:56 -07:00
Alon Zakai
c5425d7d8c
fix handling of blockaddresses > 255 in the new unified memory initializer world; fixes #1048
2013-04-09 11:31:53 -07:00
Alon Zakai
62c67168ae
add another setjmp/phi testcase
2013-04-09 08:57:26 -07:00
Alon Zakai
6388ba8a57
add new setjmp label into labelsDict, so it can be found by phis; fixes #1046
2013-04-08 21:09:12 -07:00
Alon Zakai
c5b4f5f2b8
Merge branch 'sscanf' of github.com:artdent/emscripten into artdent-sscanf
2013-04-08 20:26:47 -07:00
Alon Zakai
229cb256da
fix test_799
2013-04-08 17:33:49 -07:00
Ehsan Akhgari
350a2b08b6
Merge pull request #1010 from azmeuk/openal
...
Minor OpenAL improvements.
2013-04-06 12:36:08 -07:00
Jacob Lee
66883355e4
scanf: support '*', which matches without assigning to an argument.
...
For example, sscanf("1 2 3", "%*d %d", &foo) stores 2 into foo.
2013-04-06 15:14:52 -04:00
Alon Zakai
75c7e03bc5
use a more reasonable js chunk size when testing -O2
2013-04-05 19:00:45 -07:00
Alon Zakai
e82c91607b
remove test_glgears_bad
2013-04-05 18:44:36 -07:00
Alon Zakai
dad74e0d39
disable memory init for now
2013-04-05 18:31:18 -07:00
Alon Zakai
a89426a58d
test various chunk sizes for memory allocation
2013-04-05 18:30:25 -07:00
Alon Zakai
cc324bc9fa
check for memory initialization in source code
2013-04-05 17:58:53 -07:00
Alon Zakai
e24c088f2d
make test_glgears_animation more robust
2013-04-05 17:43:45 -07:00
Alon Zakai
864d7c07e0
fix test_emcc
2013-04-05 17:24:22 -07:00
Alon Zakai
156bd51377
add test coverage for not using a memory initialization file
2013-04-05 17:12:48 -07:00
Alon Zakai
b600e29940
fix test_optimize_normally
2013-04-05 17:09:15 -07:00
Alon Zakai
7d495a7fb7
debug printout
2013-04-05 16:59:52 -07:00
Alon Zakai
33e9673c68
improve test_chunking, permanently fix # of cores
2013-04-05 13:02:41 -07:00
Alon Zakai
1c504965bd
allow calling callMain even if run() was not called
2013-04-05 10:47:19 -07:00
Éloi Rivard
4aa4db6f10
* Added freealut testcase.
2013-04-05 10:26:20 +02:00
Alon Zakai
d2652c7089
Merge pull request #1006 from azmeuk/master
...
Basic GLFW support
2013-04-04 20:51:30 -07:00
Alon Zakai
10f70b2a9b
fix test_strings
2013-04-04 18:18:18 -07:00
Éloi Rivard
9479779ef4
* Fixed glfw test.
2013-04-04 11:17:37 +02:00
Éloi Rivard
5463f56704
* Fixed mouse position.
2013-04-04 11:17:37 +02:00
Éloi Rivard
c670dde7c6
* OpenGL extensions.
2013-04-04 11:17:37 +02:00
Éloi Rivard
8d8191488b
* Minor fix.
2013-04-04 11:17:37 +02:00
Éloi Rivard
6530ca0ac9
* Added a test.
...
* Mouse events are ok.
* Keyboard events work partially.
2013-04-04 11:17:37 +02:00
Éloi Rivard
0d05320324
* Edited tests so they use emscripten_main_loop.
...
* Got triangle test about to work.
* Implemented misc functions.
2013-04-04 11:17:37 +02:00
Éloi Rivard
94b3f0a692
* Added glfw headers and testcases.
2013-04-04 11:17:37 +02:00
Éloi Rivard
d78dcc9b74
* Fixed glfw test.
2013-04-04 11:17:36 +02:00
Éloi Rivard
26a2095480
* Fixed mouse position.
2013-04-04 11:17:36 +02:00
Éloi Rivard
b4786e49d4
* OpenGL extensions.
2013-04-04 11:17:36 +02:00
Éloi Rivard
37045ce20e
* Minor fix.
2013-04-04 11:17:36 +02:00
Éloi Rivard
e0883e3d86
* Added a test.
...
* Mouse events are ok.
* Keyboard events work partially.
2013-04-04 11:17:36 +02:00
Éloi Rivard
463d996cb0
* Edited tests so they use emscripten_main_loop.
...
* Got triangle test about to work.
* Implemented misc functions.
2013-04-04 11:17:36 +02:00
Éloi Rivard
656bba1da1
* Added glfw headers and testcases.
2013-04-04 11:17:36 +02:00
Alon Zakai
55184dbb9f
Merge pull request #1015 from fhd/incoming
...
Support rotozoomSurface
2013-04-03 11:43:53 -07:00
Felix H. Dahlke
e6f1f4cc81
Restore old zoomSurface test, add new tests for rotozoomSurface
2013-04-02 05:32:49 +02:00
Alon Zakai
36600f34ef
update test_chunking
2013-04-01 12:44:00 -07:00
Alon Zakai
7a79f8eb28
fix test_cases/caall.ll in asm
2013-03-31 21:37:46 -07:00
Alon Zakai
169884133c
differentiate better the ambiguous case of llvm call (where the type can be either just the return type, or the entire function type): ** and above are certainly just the return type
2013-03-31 20:21:35 -07:00
Alon Zakai
e6aaff1d0e
check both original short ident and redirected ident for being a library function, so redirects to Math.* work
2013-03-31 15:07:59 -07:00
Alon Zakai
f1416eb63e
invalidate renderers using stride
2013-03-31 14:17:29 -07:00
Alon Zakai
0ab1802b4d
GL_UNSAFE_OPTS tweaks
2013-03-31 14:17:29 -07:00
Alon Zakai
17c490cb18
fix gl_renderers.png
2013-03-31 14:17:29 -07:00
Alon Zakai
e199d87cb8
improve test setup for test_gl_renderers
2013-03-31 14:17:29 -07:00
Alon Zakai
575c77ef11
refactor gl_renderers.c
2013-03-31 14:17:29 -07:00
Michael Bishop
acc0208300
Added a test that creates two vertex buffers with different strides and pointers and
...
tests that the renderer can handle the changing strides and pointers.
The resulting image should be a fat diamond with colored vertices as seen
in the included image.
2013-03-31 14:17:29 -07:00
Alon Zakai
b9d076fda6
headers fix; fixes #1013
2013-03-30 19:46:57 -07:00
Alon Zakai
406071ce0f
Merge pull request #1014 from waywardmonkeys/reinstate-tests
...
Reinstate tests
2013-03-30 17:27:16 -07:00
Felix H. Dahlke
703422829c
Support rotozoomSurface
2013-03-30 22:24:15 +01:00
Alon Zakai
926a1f21a0
Merge pull request #898 from MichaelRiss/selectFix
...
select function: return error condition when network connection fails
2013-03-25 18:03:02 -07:00
Alon Zakai
a1fdf60cc9
simplify handling of anonymous entry blocks; fixes #948
2013-03-25 17:27:23 -07:00
Alon Zakai
1e86411295
Merge pull request #986 from caiiiycuk/offsets_test
...
SDL mouse offsets test
2013-03-25 15:44:52 -07:00
Alon Zakai
4af9136347
test fixes
2013-03-25 14:32:02 -07:00
Alon Zakai
ad285f60d0
remove symbol removing hack; export all malloc symbols as weak; add test for a case where symbol removing made us not merge llvm constructors properly
2013-03-25 12:58:25 -07:00
Bruce Mitchener
97258d6530
test_mmap works with Node now.
2013-03-23 14:50:58 +07:00
Bruce Mitchener
e51dd4eb52
Node issue 1669 was fixed and these tests work.
2013-03-23 14:50:37 +07:00
Alon Zakai
d743fac742
fix test_chunking
2013-03-22 13:51:37 -07:00
Alon Zakai
58d5b38643
correctly detect type of outputs of call to function pointers
2013-03-22 13:41:56 -07:00
Michael Riss
1fecc4b307
- added test cases for select error reporting
...
- added missing error reporting for sockets in the write file descriptor set
2013-03-22 17:00:00 +01:00
Aleksander Guryanov
01efb4005b
Offsets test
2013-03-21 21:31:19 +07:00
Alon Zakai
22e4c333a7
fix test_emscripten_api_infloop
2013-03-20 16:16:52 -07:00
Alon Zakai
187d2517ee
remove CATCH_EXIT_CODE and make it the default behavior
2013-03-20 15:45:48 -07:00
Alon Zakai
4b4e8582dd
restore test_sdl_mouse to the proper state, after the last fix
2013-03-20 10:35:06 -07:00
Alon Zakai
fb190b5680
update test_sdl_mouse
2013-03-20 10:10:48 -07:00
Alon Zakai
cfa39e8f05
update test_strtod, now that we handle negative zero
2013-03-19 20:50:04 -07:00
Alon Zakai
9be42fe2bc
make test_chunking a little more lenient
2013-03-19 20:12:11 -07:00
Alon Zakai
bcbce47091
handle negative zero; fixes #921
2013-03-19 20:04:38 -07:00
Bruce Mitchener
2e2fa68394
Fix large values in llvm_ctpop_i32().
...
Large values looked like negative values, we have to do an
unsigned shift.
Fixes issue #966 .
2013-03-20 00:12:29 +07:00
Alon Zakai
8754ddc7e3
Merge pull request #945 from ting-yuan/incoming
...
Fix the return value of fgets().
2013-03-18 21:52:37 -07:00
Alon Zakai
9f5ddb1568
fix bullet benchmark
2013-03-18 16:11:21 -07:00
Alon Zakai
9642a5128f
check for utf and avoid the overhead if not necessary; remove UTF_STRING_SUPPORT
2013-03-18 15:07:17 -07:00
Alon Zakai
5685df86fd
add option to turn all unresolved references into dead functions (i.e., no compile-time warnings or errors, instead runtime aborts
2013-03-18 13:42:32 -07:00
Alon Zakai
e330447ce7
add more vsnprintf testing
2013-03-18 11:47:13 -07:00
Alon Zakai
e5f5b242e3
fix printing of %llx very small and very large values
2013-03-18 11:35:47 -07:00
Alon Zakai
eb3e21e2ed
mark undefined symbol as dead in bullet
2013-03-18 11:08:31 -07:00
Alon Zakai
1c0c65eda4
fix asm*.test_cases
2013-03-18 10:35:21 -07:00
tingyuan
e6280e8c14
Add a testcase to check the behavior of fgets on eol.
2013-03-18 17:54:22 +08:00
Alon Zakai
8d5887cc85
add test for pull #956
2013-03-17 21:15:27 -07:00
Alon Zakai
4197860af1
error on undefined symbols in asm.js mode, since it breaks validation and must be corrected
2013-03-16 21:07:19 -07:00
Alon Zakai
3baf8e7f69
enable second test
2013-03-16 10:29:11 -07:00
Alon Zakai
eb3a262803
get bindings generator to work in asm.js (except for customizeVTable)
2013-03-16 10:27:51 -07:00
Alon Zakai
459e5e6f8f
remove leading zeros in %llx
2013-03-15 19:15:00 -07:00
Alon Zakai
27d1a24962
add option to disable utf support, and test that in asm2g
2013-03-15 14:34:13 -07:00
Ehsan Akhgari
ff46d95e04
Add tests for playback states
2013-03-15 11:53:16 -07:00
Ehsan Akhgari
4ad029a76d
Add a testcase for simple OpenAL playback
2013-03-15 11:53:16 -07:00
Alon Zakai
92fcd42880
add strcasecmp/strncasecmp/tolower test
2013-03-15 11:17:28 -07:00
Alon Zakai
e45a4e5fac
add strcat testing
2013-03-14 15:59:58 -07:00
Alon Zakai
83db455d3c
move dynamic 64-bit shifts into asm library calls
2013-03-14 12:52:50 -07:00
Alon Zakai
e28105b8e3
notice asm link errors in benchmarks
2013-03-14 10:56:17 -07:00
Alon Zakai
877c359b56
do not emit code after a switch; fixes #946
2013-03-13 21:09:54 -07:00
Alon Zakai
332bf03ca0
remove unneeded 64-bit shifts code
2013-03-13 18:49:24 -07:00
Alon Zakai
18eb063bed
turn calls to undef into aborts, so they asmify
2013-03-13 10:37:45 -07:00
Alon Zakai
4603044055
fix test_relooper
2013-03-12 21:04:09 -07:00
Alon Zakai
7e2e2380a7
asmify strncpy
2013-03-12 19:01:48 -07:00
Alon Zakai
eb92e14f76
write strcpy in asm and add some testing
2013-03-12 18:50:44 -07:00
Alon Zakai
1706d67834
make test_sdl_audio_mix report a result
2013-03-12 15:45:43 -07:00
Alon Zakai
174c6def2c
update test_chunking
2013-03-12 12:47:09 -07:00
Alon Zakai
68988a8603
support -s KEY=@PATH in emcc, for very large settings values
2013-03-12 10:47:35 -07:00
Alon Zakai
8d53fec332
add ASSERTIONS to asm2g, and fix assertions for asm
2013-03-11 17:46:54 -07:00
Alon Zakai
b793e04cf5
make pgo output work in asm.js
2013-03-11 15:38:26 -07:00
Alon Zakai
c3d3f580c1
add testcase for issue 944
2013-03-11 13:31:09 -07:00
Alon Zakai
4b2e7f4c10
Merge pull request #936 from michaeljbishop/add-mix-reservechannels
...
Add Mix_ReserveChannels
2013-03-11 12:27:07 -07:00
Alon Zakai
8ae46ba83b
add testcase
2013-03-10 21:27:49 -07:00
Alon Zakai
4c774c6d05
legalize truncs from legal values into illegal values
2013-03-10 21:27:25 -07:00
Alon Zakai
6a91523540
--save-bc option
2013-03-10 18:47:38 -07:00
Alon Zakai
7c39b40357
larger pgo test, with asm measurements
2013-03-10 15:02:11 -07:00
Alon Zakai
f8066edde4
function pointer support in PGO
2013-03-10 14:21:42 -07:00
Alon Zakai
8be82c0440
pgo for unused function detection
2013-03-10 13:59:40 -07:00
Alon Zakai
b124060304
adjust csmith driver timeout
2013-03-10 11:55:06 -07:00
Alon Zakai
1401084573
disable inlining in sqlite with asm in debug mode
2013-03-10 10:39:39 -07:00
Alon Zakai
97b2c07543
disable test_sscanf and test_strtod in s_x_x
2013-03-10 10:05:21 -07:00
Alon Zakai
e5afcd2290
disable getopt tests in s_x_x
2013-03-10 10:02:40 -07:00
Alon Zakai
b900ac09a2
save asm validation errors and continue, in fuzzer
2013-03-10 08:41:12 -07:00
Alon Zakai
0f538ae57b
Merge branch 'asm_minifier' into incoming
2013-03-09 20:01:14 -08:00
Alon Zakai
ca6e55cbf2
update test_emcc
2013-03-09 19:26:17 -08:00
Alon Zakai
4c95c34ca8
use minified names in registerize for locals
2013-03-09 15:37:49 -08:00
Alon Zakai
48d96fcb64
add testing for asm_js minification/registerization
2013-03-09 11:40:44 -08:00
Alon Zakai
e2c783622d
update test_emcc
2013-03-09 11:32:02 -08:00
Alon Zakai
d937b18045
update test_chunking
2013-03-09 11:15:39 -08:00
Alon Zakai
74a855a0d5
improve non-asm parsing of generated functions area to be identical in EMCC_DEBUG=1 and 2
2013-03-09 10:04:07 -08:00
Alon Zakai
d4d5bdf5e1
asm2g fix
2013-03-09 09:26:23 -08:00
Alon Zakai
2829db174b
add asm2g test pass for asm -O2 -g
2013-03-09 09:23:40 -08:00
Alon Zakai
a69c712141
test for asm minifier sizes
2013-03-09 09:21:15 -08:00
Alon Zakai
5c5a9dd4bf
make sure we use a C compiler to build libc. fixes #937 , #938
2013-03-08 20:42:36 -08:00
Michael Bishop
81cdeaa376
Added test and fixed bugs exposed by the test.
2013-03-08 18:03:12 -05:00
Michael Bishop
404380d165
Added test that tests the basic functionality of SDL_Mixer including pausing and resuming both the Sound channels and Music channel.
2013-03-08 17:26:18 -05:00
Alon Zakai
a3fa038015
deprecate USE_TYPED_ARRAYS=1 and QUANTUM_SIZE=1
2013-03-08 10:22:16 -08:00
Alon Zakai
1836357e38
disable test_openjpeg in s_x_x
2013-03-08 10:09:34 -08:00
Alon Zakai
627aa60c46
Merge pull request #930 from waywardmonkeys/update-catch-undef
...
-fcatch-undefined-behavior is deprecated.
2013-03-07 18:19:37 -08:00
Alon Zakai
f7e59e31bf
support llvm_ctpop_*; fixes #918
2013-03-07 18:16:04 -08:00
Alon Zakai
97ffe5025c
Merge pull request #931 from xxuejie/stdlib_strtod
...
Implement strtod in native C code as part of libc.
2013-03-07 18:09:05 -08:00
Alon Zakai
1a06c9d755
add test for animation in FULL_ES2
2013-03-07 12:46:11 -08:00
Xuejie "Rafael" Xiao
d4c9620fb5
Move strtod, strtold, strtof, strtod_l, strtold_l, atof from JS side to libc side, this can fix double precision bug in original strtod implementation.
2013-03-06 23:59:11 -05:00
Alon Zakai
9b16e851b2
assert on no variable name collisions for #923
2013-03-06 12:30:16 -08:00
Alon Zakai
1979e5ccd8
Merge pull request #929 from waywardmonkeys/remove-test-Os
...
Remove test_Os now that emcc supports -Os.
2013-03-06 11:52:00 -08:00
Alon Zakai
29a6a88c72
Merge pull request #848 from manuels/incoming
...
Add getopt and getopt_long (libc) support
2013-03-06 11:35:49 -08:00
Alon Zakai
273f7a00cf
update csmith driver
2013-03-06 10:06:57 -08:00
Bruce Mitchener
65d5914ecb
Implement llabs().
2013-03-07 00:19:53 +07:00
Bruce Mitchener
654d4dd001
-fcatch-undefined-behavior is deprecated.
...
Use -fsanitize=undefined.
2013-03-06 17:25:59 +07:00
Bruce Mitchener
51892b5e74
Remove test_Os now that emcc supports -Os.
2013-03-06 17:23:11 +07:00
Alon Zakai
97407b218c
make -Os like -O2 but also disable inlining
2013-03-05 20:46:47 -08:00
Alon Zakai
21cbcab50c
do not break on call/invoke to undef; fixes #914
2013-03-05 18:03:06 -08:00
Alon Zakai
b17f3fe267
handle invoke to setjmp
2013-03-05 16:52:26 -08:00
Alon Zakai
daed1bdade
Merge branch 'sd-audio' of github.com:michaeljbishop/emscripten into michaeljbishop-sd-audio
2013-03-05 14:25:18 -08:00
Alon Zakai
df26b7eeba
add lto in benchmarks
2013-03-05 14:11:22 -08:00
manuels
6efef45cbf
Add support for getopt/getopt_long
2013-03-05 22:05:11 +01:00
Chad Austin
cc0d959ebe
fix some test failures
2013-03-04 19:35:18 -08:00
Alon Zakai
5a6db03cf2
fix test_structbyval
2013-03-04 17:30:23 -08:00
Alon Zakai
26a3a085fc
emscripten_jcache_printf
2013-03-04 17:07:25 -08:00
Alon Zakai
11aece9dd9
disable csmith js logging by default
2013-03-04 13:15:42 -08:00
Alon Zakai
cc67e1985f
options to save files in csmith driver
2013-03-04 12:45:02 -08:00
Alon Zakai
bbda9eeaf9
rename test to avoid grep for 'error' to see it
2013-03-04 10:20:55 -08:00
Alon Zakai
02cdea5859
do not emit bash on legalized variables of <= 32 bits
2013-03-03 21:11:57 -08:00
Alon Zakai
ab45ff99a7
disable test_dlmalloc, it is not comparable to native due to syscalls anyhow
2013-03-03 15:49:36 -08:00
Alon Zakai
8cc0273ae7
remove no-longer-needed INIT_STACK
2013-03-03 15:23:25 -08:00
Alon Zakai
3bd0991eb4
fix test_cases/inttoptrfloat.ll
2013-03-03 15:00:00 -08:00
Alon Zakai
2f0b24bad5
Merge pull request #846 from juj/dlmalloc_286
...
Dlmalloc 286
2013-03-03 10:43:46 -08:00
Alon Zakai
485cee0a7a
parse volatile in cmpxchg, closes #875
2013-03-03 08:29:07 -08:00
Alon Zakai
651d79a8c4
allow parseArbitraryInt to parse illegal constants
2013-03-03 08:09:55 -08:00
Alon Zakai
edb28adc22
more atomic implementations, closes #874
2013-03-02 20:52:39 -08:00
Alon Zakai
626eaf848b
continue looking in fuzzer after a fail
2013-03-02 20:07:32 -08:00
Alon Zakai
dc5fcfb4de
check in fuzzer if clang differs from clang -O2
2013-03-02 19:56:47 -08:00
Alon Zakai
92499c33f5
set csmith fuzzer to max
2013-03-02 18:16:57 -08:00
Alon Zakai
748dadbc72
emit C code size in fuzzer
2013-03-02 17:03:33 -08:00
Alon Zakai
0a4bc063c3
fix another memset fuzz bug
2013-03-02 16:40:52 -08:00
Alon Zakai
80200fb5de
fix memset bug
2013-03-02 15:44:01 -08:00
Alon Zakai
214fbe8e09
Merge pull request #883 from MichaelRiss/perrorFix
...
Perror formatting fix
2013-03-02 14:52:37 -08:00
Alon Zakai
ab74dbd46d
fuzz both a native and a native-through-llvm build, in hopes of avoiding bugs in both
2013-03-02 00:43:28 -05:00
Alon Zakai
276325e440
notice segfaults in native fuzz builds
2013-03-02 00:19:26 -05:00
Alon Zakai
591b5480c7
fuzz through bytecode, so the native build is 32-bit even on 64-bit systems, like the js build
2013-03-02 00:05:43 -05:00
Alon Zakai
2be0fae9af
do not use packed structs in fuzzer, we don't really support that
2013-03-01 23:18:10 -05:00
Alon Zakai
95a202de75
optimize processing of things like false & constant, add getFastValue in makeSignOp, and add fuzz tests that now pass
2013-03-01 21:47:02 -05:00
Alon Zakai
d8621333e6
update csmith driver
2013-03-01 21:46:12 -05:00
Alon Zakai
37106eebf4
do not emit code in a label after a return
2013-03-01 19:49:48 -05:00
Alon Zakai
dbac2b2bee
abort on loads from absolute addresses, just like saves
2013-03-01 13:31:13 -05:00
Alon Zakai
ec2a9d6326
make intentional faults work in asm
2013-03-01 12:45:46 -05:00
Alon Zakai
f4c9cea881
add another testcase
2013-03-01 12:39:06 -05:00
Alon Zakai
a398b3be35
handle calls to aliases in asm
2013-03-01 12:36:44 -05:00
Alon Zakai
7c67a3f2d1
add testing for registerize running in asm.js mode (but not with -g)
2013-02-28 23:08:34 -05:00
Alon Zakai
cfcf2febb0
do not emit floats from getFastValue divisions, can break asm
2013-02-28 16:47:35 -05:00
Alon Zakai
3733f600c6
fix test_exceptions
2013-02-28 16:10:42 -05:00
Alon Zakai
ee43f1b5c3
test fixes
2013-02-28 15:49:00 -05:00
Alon Zakai
6477d51f2e
fix test_white_list_exception
2013-02-28 14:12:23 -05:00
Alon Zakai
f759ed3c67
fix test_uncaught_exception
2013-02-28 14:11:00 -05:00
Alon Zakai
9c0ebb1072
fix test_exit_stack
2013-02-28 14:06:55 -05:00
Alon Zakai
85dd57e496
fix test_exceptions
2013-02-28 14:05:01 -05:00
Alon Zakai
acc6413414
test updates
2013-02-28 11:51:37 -05:00
Alon Zakai
7880f929b4
inline by default, now that lto is off by default
2013-02-28 11:33:24 -05:00
Alon Zakai
8060d8fc69
disable llvm lto except for -O3, due to issues we have been seeing
2013-02-28 10:43:13 -05:00
Michael Riss
6ba1c5d72b
added missing test case
...
must have gotten lost in the rebasing operation ...
2013-02-28 12:10:12 +01:00
Alon Zakai
dd61bf0a31
fix and enable gles2 tests
2013-02-27 22:04:03 -05:00
Alon Zakai
de3cbc986c
comment out hardcoded debug paths
2013-02-27 21:50:00 -05:00
Alon Zakai
39b8337197
Merge pull request #889 from ehsan/sdl_textinput
...
Implement SDL_TEXTINPUT
2013-02-27 17:45:28 -08:00
Alon Zakai
06822b1ea4
add the rest of the gles2 emulation tests
2013-02-27 20:40:06 -05:00
Ehsan Akhgari
e1a0116a87
Implement SDL_TEXTINPUT
2013-02-27 20:36:14 -05:00
Alon Zakai
8da0914d01
add preparations for gles2 emulation tests
2013-02-27 20:31:08 -05:00
Alon Zakai
985f71322d
csmith driver debug output
2013-02-27 20:21:30 -05:00
Alon Zakai
42da4e19f9
FORCE_GL_EMULATION option
2013-02-27 19:23:15 -05:00
Alon Zakai
85b862ac83
properly emit calls to gl passthroughs with 0 params, and test for glError
2013-02-27 18:26:06 -05:00
Alon Zakai
4b67d79bd5
finish EMCC_OPTIMIZE_NORMALLY test
2013-02-27 13:40:12 -05:00
Alon Zakai
4aad802450
test for EMCC_OPTIMIZE_NORMALLY
2013-02-27 13:35:34 -05:00
Alon Zakai
a28b5d53d7
Merge pull request #857 from caiiiycuk/writefds
...
draft implementation for writefds
2013-02-26 17:55:39 -08:00