emscripten/tests
Alon Zakai 020c6b7291 Merge branch 'incoming' of github.com:kanaka/emscripten into incoming 2013-06-04 12:35:56 -07:00
..
box2d fix box2d compilation with emscripten 2013-05-09 14:29:32 -07:00
bullet Remove executable permissions on simple files 2013-05-03 13:18:26 -07:00
cases disable some test_cases tests in s_x_x 2013-06-03 12:10:02 -07:00
cmake Added cmake toolchain file for Emscripten and a other.test_cmake to tests its functionality. 2012-11-12 21:14:20 +02:00
ctype fix test_ctype for newlib 2011-10-18 16:07:01 -07:00
cube2hash readme for cube2hash testcase 2012-04-04 14:59:39 -07:00
cubescript work towards QUANTUM_SIZE=1 (unused) 2011-04-22 07:53:31 -07:00
embind Add support for multiple overloaded smart pointer constructors. 2013-05-17 12:58:44 -07:00
enet preparation for enet testing 2012-10-02 12:12:28 -07:00
env use a valid dir in the default HOME env var value 2012-03-21 13:52:11 -07:00
exceptions Polymorphic exception handling. 2012-02-20 08:50:04 +00:00
fcntl make memory management sane: 0 is null, then static including globals, then stack, then dynamic/sbrk. deprecate shared libs (BUILD_AS_SHARED_LIB) 2013-05-04 19:53:45 -07:00
fcntl-misc Implemented <fcntl.h>. 2011-07-21 02:48:24 +03:00
fcntl-open Implemented <fcntl.h>. 2011-07-21 02:48:24 +03:00
filesystem fix test_fs_base 2012-03-19 14:40:01 -07:00
freealut * Added freealut testcase. 2013-04-05 10:26:20 +02:00
freetype * Added comments on edited code. 2013-04-26 22:12:28 +02:00
fuzz add testcase 2013-03-10 21:27:49 -07:00
glbook fix and enable gles2 tests 2013-02-27 22:04:03 -05:00
hyperbolic Added hyperbolic math functions; 2011-07-08 11:46:20 +03:00
langinfo Implemented nl_langinfo(). 2011-08-17 07:44:30 +03:00
lua add lua-binarytrees benchmark 2013-05-18 12:57:50 -07:00
msvc10 Added Visual Studio 2010 solution and project files for the applications in tests/. 2012-05-15 21:17:05 +03:00
nbody-java standardize params to nbody_java 2013-05-09 15:49:57 -07:00
openjpeg stub out unneeded openjpeg functions, so it can parse in asm 2013-01-18 18:15:48 -08:00
parseInt use precise 64-bit parsing for parseInt, add bswap64 test, fixes #768 2012-12-30 11:07:01 -08:00
poppler Remove executable permissions on simple files 2013-05-03 13:18:26 -07:00
printf test fixes 2011-12-08 14:02:09 -08:00
python add python le32 bitcode file + instructions 2013-04-29 16:26:44 -07:00
scons Only use C++ flags for C++ code 2012-05-28 14:08:49 +02:00
sounds Add a testcase for simple OpenAL playback 2013-03-15 11:53:16 -07:00
sqlite test fixes and set sign and overflow correction to 1 when in asm mode 2012-12-07 14:23:24 -08:00
stat update test_stat and test_statvfs 2012-02-05 17:36:08 -08:00
systypes Make sure that sys/types.h defines old-style C sized types 2012-01-30 20:21:04 -05:00
time actually implement clock_gettime() 2013-05-23 12:11:30 -07:00
unistd Updated tests to reflect new error values 2013-06-04 11:39:26 -07:00
zlib update benchmarks 2013-04-29 11:00:23 -07:00
799.cpp This header is <arpa/inet.h>, not <net/arpa/...> 2013-04-29 18:20:35 +07:00
aniso.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
aniso.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
autoassemble.c Polish for emscripten.py and its tests. 2011-07-09 20:14:00 +03:00
bigswitch.cpp add testcase with big switch for #781 2013-01-13 13:33:43 -08:00
bloom.dds test for decrunching more than one image 2012-06-18 14:39:30 -07:00
browser_gc.cpp fix test_gc 2012-09-19 10:37:02 -07:00
browser_harness.html nicer browser test harness text 2012-04-12 11:32:39 -07:00
checksummer.c add tests for chunked binary web worker xhr 2012-10-19 05:27:13 +02:00
cube2md5.cpp fix strtod behavior on non-ints 2012-05-26 19:45:05 +02:00
cube2md5.ok fix strtod behavior on non-ints 2012-05-26 19:45:05 +02:00
cube2md5.txt fix strtod behavior on non-ints 2012-05-26 19:45:05 +02:00
cube_explosion.c fix glIsTexture from throwing a warning on null-ified textures, and add testing 2013-01-31 17:40:41 -08:00
cubegeom.c testing for glGetBooleanv 2013-02-26 19:25:46 -05:00
cubegeom_color.c color support in shaders and emulation 2012-05-05 15:26:13 -07:00
cubegeom_color2.c fix bug with using color and normal even when not enabled, if they were enabled in the past 2012-05-09 11:17:21 -07:00
cubegeom_fog.c basic fog support 2012-06-14 17:49:43 -07:00
cubegeom_glew.c add glew test and some degree of support 2013-04-29 18:19:55 -07:00
cubegeom_mt.c make test_cubegeom_mt a proper test of multitexturing 2012-05-07 18:45:05 -07:00
cubegeom_normal.c support for gl_Normal 2012-05-07 12:18:30 -07:00
cubegeom_normal_dap.c handle pointers to clientside data in glDrawElements when emulating GL 2012-06-01 15:31:39 -07:00
cubegeom_normal_dap_far.c scan indices when necessary to figure out what vertex data to push, when no buffers are being used. allows use of vertex data from arbitrary parts of the vertex data range, not just the beginning 2012-06-02 10:16:56 -07:00
cubegeom_normal_dap_far_glda.c make cubegeom_normal_dap_far_glda more robust 2012-06-05 10:30:44 -07:00
cubegeom_normal_dap_far_glda_quad.c GL_QUAD non-0 start rendering fix 2012-06-16 09:26:58 -07:00
cubegeom_normal_dap_far_range.c glDrawRangeElements 2012-06-02 15:36:29 -07:00
cubegeom_pre.c fix prepareClientAttributes bugs: handle non-packed vertex attributes properly 2012-04-28 13:22:18 -07:00
cubegeom_pre2.c add test_cubegeom_pre2 2012-04-28 13:25:44 -07:00
cubegeom_pre2_vao.c save client states in vertex array objects 2013-02-22 10:23:29 -08:00
cubegeom_pre2_vao2.c wipe out previous vao-related state when binding a vao 2013-02-22 10:51:19 -08:00
cubegeom_pre3.c fix handling of non-float client attributes, and add test_cubegeom_pre3 2012-04-28 15:57:10 -07:00
cubegeom_pre_vao.c vertex array object support in gl emulation 2013-02-20 12:34:59 -08:00
cubegeom_texturematrix.c support for gl_TextureMatrixes 2012-05-10 14:06:06 -07:00
dlmalloc_test.c Skip, or simulate success for the test_dlmalloc test that checks memory allocation linearity/contiguity when compiling it natively to OSX. On that platform, this condition has been detected to not hold. Retain the check still for other platforms. 2013-02-12 02:13:01 +02:00
emscripten_api_browser.cpp fix test_api_browser for asm 2013-01-19 21:23:31 -08:00
emscripten_api_browser_infloop.cpp fix test_emscripten_api_infloop 2013-03-20 16:16:52 -07:00
emscripten_fs_api_browser.cpp make browser fs api test robust 2012-12-31 11:38:39 -08:00
enet_client.c refactor networking code to start supporting multiple backends 2013-01-08 11:05:45 -08:00
enet_server.c refactor networking code to start supporting multiple backends 2013-01-08 11:05:45 -08:00
fannkuch.cpp standardize benchmark inputs 2013-04-25 21:32:43 -07:00
fannkuch.js the code 2010-08-25 21:01:10 -07:00
fasta.cpp fix fasta bug that shows up in clang 2012-02-01 11:34:25 -08:00
fasta.js the code 2010-08-25 21:01:10 -07:00
files.cpp create /dev/null; issue #1226 2013-06-02 20:56:07 -07:00
float_tex.cpp fix highp to lowp in tests 2013-05-17 11:23:38 -07:00
float_tex.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
full_es2_sdlproc.c do not use gl emulation code in es2 emulation mode, to avoid confusing lack of a bound buffer between them 2013-05-30 16:44:26 -07:00
gears.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
gl_matrix_identity.c Initialize the projection and modelview matrices to identity 2012-06-12 20:06:02 -04:00
gl_ps.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
gl_ps.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
gl_ps_packed.c support packed attributes in gl emulation code, perform restriding manually 2013-02-06 16:06:24 -08:00
gl_ps_strides.c add test for pull #956 2013-03-17 21:15:27 -07:00
gl_ps_strides.png add test for pull #956 2013-03-17 21:15:27 -07:00
gl_renderers.c refactor gl_renderers.c 2013-03-31 14:17:29 -07:00
gl_renderers.png fix gl_renderers.png 2013-03-31 14:17:29 -07:00
gl_stride.c Added test for passing two separate arrays of attributes, each 2013-04-17 15:52:38 -04:00
gl_stride.png Added test for passing two separate arrays of attributes, each 2013-04-17 15:52:38 -04:00
gl_subdata.cpp fix highp to lowp in tests 2013-05-17 11:23:38 -07:00
glbegin_points.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
glbegin_points.png support glBegin on GL_POINTS; fixes #793 2013-01-19 16:31:47 -08:00
glfw.c * Fixed glfw test. 2013-04-04 11:17:36 +02:00
glshaderinfo.cpp return correct values for GL_SHADER_COMPILER and GL_NUM_SHADER_BINARY_FORMATS 2012-06-02 12:41:50 -07:00
hashtest.cpp clean up libcxx test 2012-01-19 10:14:11 -08:00
hello_cxx03.cpp Compile with -std=c++03 consistently on all platforms. By default, Clang 3.2 inconsistently uses C++11 for Windows and C++03 for Linux if user did not specify -std= on the command line. Fixes other.test_embind and *.test_llvmswitch. Add unit tests that confirm that .cpp files are compiled with C++03 std by default. 2013-02-01 22:51:35 +02:00
hello_cxx11.cpp Add a unit test that checks that user is able to specify a custom -std= flag on the command line. 2013-02-01 23:13:17 +02:00
hello_function.cpp hello_function.cpp example 2012-02-23 14:48:00 -08:00
hello_libcxx.cpp automatically use libcxx when needed 2012-01-18 11:35:00 -08:00
hello_libcxx_mod1.cpp test for mixed jcache results 2012-11-22 17:40:53 +01:00
hello_libcxx_mod2.cpp emscripten_jcache_printf 2013-03-04 17:07:25 -08:00
hello_libcxx_mod2a.cpp emscripten_jcache_printf 2013-03-04 17:07:25 -08:00
hello_malloc.cpp completely automatic malloc inclusion in emcc 2011-12-16 14:55:17 -08:00
hello_world.c refactor temp files handling code, and first passing compilation test for emcc 2011-12-11 15:24:04 -08:00
hello_world.cpp refactor temp files handling code, and first passing compilation test for emcc 2011-12-11 15:24:04 -08:00
hello_world.js better handling of detection of scriptArgs and arguments 2012-03-10 20:48:38 -08:00
hello_world.ll add missing file 2011-12-17 11:47:01 -08:00
hello_world_error.c missing test files 2011-12-20 11:06:42 -08:00
hello_world_error.cpp missing test files 2011-12-20 11:06:42 -08:00
hello_world_file.cpp various files 2012-03-15 18:35:10 -07:00
hello_world_file.txt various files 2012-03-15 18:35:10 -07:00
hello_world_gles.c [tests/hello_world_gles.c]: Added F11 to go in fullscreen mode (to test the glutFullScreen implementation) ; 2012-04-19 11:48:57 +08:00
hello_world_gles_deriv.c Add a test for the standard derivatives extension 2012-04-04 22:53:10 -04:00
hello_world_gles_full.c add test for animation in FULL_ES2 2013-03-07 12:46:11 -08:00
hello_world_gles_full_944.c add testcase for issue 944 2013-03-11 13:31:09 -07:00
hello_world_gles_shell.html make test_glgears_animation more robust 2013-04-05 17:43:45 -07:00
hello_world_loop.cpp completely automatic malloc inclusion in emcc 2011-12-16 14:55:17 -08:00
hello_world_loop_malloc.cpp completely automatic malloc inclusion in emcc 2011-12-16 14:55:17 -08:00
hello_world_sdl.cpp fix two bugs with rendering pixel data to SDL: flip R and B to match native behavior, and ignore alpha when rendering to the screen as also done in native behavior 2012-03-27 16:21:44 -07:00
hello_world_worker.cpp fixes to allow generated code to run in a web worker 2011-12-12 16:02:19 -08:00
htmltest.png make test_html a reftest 2012-04-11 15:38:30 -07:00
http.cpp Merge remote-tracking branch 'wolfviking/incoming' into incoming 2013-01-07 17:43:36 -08:00
http.h Add emscripten_async_wget2 with progress callback 2012-12-13 15:27:37 +01:00
i64_precise.txt improve i64 precise test 2012-04-01 18:18:57 -07:00
life.c update benchmarks 2013-04-29 11:00:23 -07:00
lifetime.ll remove variable eliminator in analyzer; we do that in the eliminator in -O1 and above anyhow 2012-02-11 14:54:56 -08:00
linpack.c add linpack benchmark 2013-05-23 14:49:40 -07:00
new.cpp automatic malloc need detection for new 2012-01-07 18:01:09 -08:00
openal_playback.cpp Add tests for playback states 2013-03-15 11:53:16 -07:00
perspective.c fix gluPerspective and add test 2013-02-06 11:45:13 -08:00
perspective.png fix gluPerspective and add test 2013-02-06 11:45:13 -08:00
pre_run_deps.cpp allow adding runDependencies in preRun 2012-05-09 21:36:08 -07:00
raytrace.cpp fix raytrace test and benchmark 2011-11-05 14:21:25 -07:00
raytrace.ppm fix raytrace test and benchmark 2011-11-05 14:21:25 -07:00
raytrace_7_256.ppm fix raytrace test and benchmark 2011-11-05 14:21:25 -07:00
runner.py Merge branch 'incoming' of github.com:kanaka/emscripten into incoming 2013-06-04 12:35:56 -07:00
s3tc.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
s3tc.png s3tc compression support 2012-06-13 18:23:47 -07:00
s3tc_crunch.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
s3tc_crunch.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-fog-density.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-fog-exp2.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-fog-linear.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-fog-negative.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-fog-simple.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-gray-purple.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot-gray.png set alpha to false in WebGL rendering - it represents the screen, so no alpha is needed 2013-02-14 22:39:38 +01:00
screenshot.dds s3tc compression support 2012-06-13 18:23:47 -07:00
screenshot.jpg various files 2012-03-15 18:35:10 -07:00
screenshot.png files for sdl/ogl immediate mode test 2012-04-12 17:13:00 -07:00
screenshot2.png complete test for image compression 2012-03-17 19:22:30 -07:00
sdl_alloctext.c fix test_sdl_alloctext 2013-05-16 14:07:31 -07:00
sdl_audio.c fix test_sdl_audio 2013-05-21 18:03:11 -07:00
sdl_audio_mix.c make test_sdl_audio_mix report a result 2013-03-12 15:45:43 -07:00
sdl_audio_quickload.c Implement Mix_QuickLoad_RAW 2012-06-25 19:13:35 -04:00
sdl_canvas.c fix font rendering in test_sdl_canvas 2013-05-16 14:18:55 -07:00
sdl_canvas_palette.c support NULL rect in SDL_FillRect 2012-06-13 20:52:03 -07:00
sdl_canvas_palette.png automate test_sdl_canvas_palette and temporarily disable test_sdl_canvas_palette_2 2012-06-13 14:07:46 -07:00
sdl_canvas_palette_2.c Add automation for sdl palette test 2013-01-30 23:09:05 +07:00
sdl_canvas_palette_b.png Add automation for sdl palette test 2013-01-30 23:09:05 +07:00
sdl_canvas_palette_g.png Add automation for sdl palette test 2013-01-30 23:09:05 +07:00
sdl_canvas_palette_r.png Add automation for sdl palette test 2013-01-30 23:09:05 +07:00
sdl_canvas_twice.c fix bug with locking an sdl surface not reading the canvas pixel data properly; fixes #664 2012-10-29 13:46:10 -07:00
sdl_canvas_twice.png fix bug with locking an sdl surface not reading the canvas pixel data properly; fixes #664 2012-10-29 13:46:10 -07:00
sdl_fog_density.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_fog_exp2.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_fog_linear.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_fog_negative.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_fog_simple.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_gl_read.c memory checks for glReadPixels 2013-02-15 13:41:28 +01:00
sdl_image.c Fix IMG_Load to work with absolute paths 2012-05-15 19:52:55 -04:00
sdl_image_jpeg.c prepare jpeg as well as jpg 2013-02-13 00:09:37 -08:00
sdl_image_prepare.c emscripten_async_prepare 2012-10-04 18:13:17 -07:00
sdl_image_prepare_data.c add argument to emscripten_async_prepare_data 2012-10-19 12:01:13 -07:00
sdl_key.c fix sdl key stuff and more more support 2012-04-22 20:53:30 -07:00
sdl_key_test.c unpress keys when losing focus 2013-05-01 14:57:52 -07:00
sdl_maprgba.c Fix SDL_MapRGB and implement SDL_MapRGBA. 2012-07-11 10:30:29 -05:00
sdl_maprgba.png Fix SDL_MapRGB and implement SDL_MapRGBA. 2012-07-11 10:30:29 -05:00
sdl_mouse.c add parameter to emscripten_set_main_loop to optionally simulate an infinite loop by throwing an exception (like glutMainLoop) 2012-10-13 10:06:33 -07:00
sdl_ogl.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_ogl_defaultMatrixMode.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_ogl_p.c Adding texEnv emulation to Immediate mode. 2013-05-20 10:48:40 -07:00
sdl_quit.c add parameter to emscripten_set_main_loop to optionally simulate an infinite loop by throwing an exception (like glutMainLoop) 2012-10-13 10:06:33 -07:00
sdl_resize.c support for SDL resize event 2012-10-17 13:58:42 -07:00
sdl_rotozoom.c Restore old zoomSurface test, add new tests for rotozoomSurface 2013-04-02 05:32:49 +02:00
sdl_rotozoom.png Restore old zoomSurface test, add new tests for rotozoomSurface 2013-04-02 05:32:49 +02:00
sdl_text.c Implement SDL_TEXTINPUT 2013-02-27 20:36:14 -05:00
sdlglshader.c finish current immediate+shader work, add sdlglshader test 2012-04-23 17:30:21 -07:00
sdlglshader.png finish current immediate+shader work, add sdlglshader test 2012-04-23 17:30:21 -07:00
sha1.c define proper endianness for endian.h and add working but slow-compiling sha1 test 2012-05-03 17:26:03 -07:00
ship.dds crunch support 2012-06-17 17:57:47 -07:00
skinning_test_no_simd.cpp update benchmarks 2013-04-29 11:00:23 -07:00
socket_relay.py support growing the socket data buffer, and enable working bigdata socket test 2012-10-30 14:37:10 -07:00
test-fix-closure.js fix fix_closure bug with newlines 2012-01-11 11:38:46 -08:00
test_egl_width_height.c Issue #645: Implement eglQuerySurface for EGL_HEIGHT and EGL_WIDTH. 2013-05-10 17:26:06 -07:00
tex_nonbyte.c support non-GL_UNSIGNED_BYTE texture pixel styles 2012-07-03 11:37:48 -07:00
tex_nonbyte.png support non-GL_UNSIGNED_BYTE texture pixel styles 2012-07-03 11:37:48 -07:00
twopart_main.cpp emcc linking fixes and tests 2011-12-14 11:39:53 -08:00
twopart_side.cpp emcc linking fixes and tests 2011-12-14 11:39:53 -08:00
water.dds support for non-square crunch textures with mipmaps 2012-06-20 10:56:18 -07:00
websockets.c fix __errno_location 2013-05-21 14:53:07 -07:00
websockets_bi.c Merge branch 'incoming' of github.com:kanaka/emscripten into incoming 2013-06-04 12:35:56 -07:00
websockets_bi_bigdata.c Fix '-1' problem in recv 2013-01-30 22:05:11 +07:00
websockets_bi_listener.c Fix '-1' problem in recv 2013-01-30 22:05:11 +07:00
websockets_bi_side.c Support read/write on socket file descriptors. 2013-01-08 17:36:36 -06:00
websockets_bi_side_bigdata.c add non-working websockets test for large amounts of 'random' data 2012-10-17 12:44:21 -07:00
websockets_bigdata.h support growing the socket data buffer, and enable working bigdata socket test 2012-10-30 14:37:10 -07:00
websockets_gethostbyname.c fix test_websockets_gethostbyname 2013-04-19 11:39:56 -07:00
websockets_partial.c fix test_websockets_partial 2013-02-04 20:33:33 -08:00
websockets_select.c - added test cases for select error reporting 2013-03-22 17:00:00 +01:00
websockets_select_server_closes_connection.c - added test cases for select error reporting 2013-03-22 17:00:00 +01:00
websockets_select_server_closes_connection_rw.c - added test cases for select error reporting 2013-03-22 17:00:00 +01:00
whets.cpp add whets testcase 2013-05-07 16:39:32 -07:00
worker_api_2_main.cpp emscripten_get_worker_queue_size 2012-10-26 11:45:21 -07:00
worker_api_2_worker.cpp handle no-data worker api calls, and more tests 2012-10-22 16:26:30 -07:00
worker_api_main.cpp initial work on worker api 2012-10-22 15:30:03 -07:00
worker_api_worker.cpp initial work on worker api 2012-10-22 15:30:03 -07:00