emscripten/tests
Alon Zakai 1e86411295 Merge pull request #986 from caiiiycuk/offsets_test
SDL mouse offsets test
2013-03-25 15:44:52 -07:00
..
bullet inline by default, now that lto is off by default 2013-02-28 11:33:24 -05:00
cases correctly detect type of outputs of call to function pointers 2013-03-22 13:41:56 -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 Fixed embind for non-void non-const class methods (with test). 2012-11-30 15:16:00 +08: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 fix test_fcntl 2012-06-22 21:29:59 -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
freetype Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK. 2012-12-19 18:06:48 -05: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 modernize lua .ll and simplify test to not need EMCC_KEEP_INPUTS_RAW which is hackish 2013-01-09 15:59:58 -08:00
msvc10 Added Visual Studio 2010 solution and project files for the applications in tests/. 2012-05-15 21:17:05 +03: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 force freetype detection in test_poppler, fixes it on machines that lack freetype-config 2012-09-24 15:28:34 -07:00
printf test fixes 2011-12-08 14:02:09 -08:00
python Updated scripts to call python2 directly rather than relying on python symlink pointing to the right place. See PEP394 for details on why this should be OK. 2012-12-19 18:06:48 -05: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 fix test_time 2012-11-04 10:04:26 -08:00
unistd fix test_unistd_io 2012-03-19 14:41:05 -07:00
zlib fix and enable zlib benchmark 2013-01-25 17:26:58 -08:00
799.cpp fix sockaddr_storage and sockaddr_in 2013-01-26 16:15:55 -08:00
aniso.c properly emit calls to gl passthroughs with 0 params, and test for glError 2013-02-27 18:26:06 -05: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_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 the code 2010-08-25 21:01:10 -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 mkstemp 2013-01-02 11:31:53 -08:00
float_tex.cpp support for float textures 2012-07-07 12:04:28 -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
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 improve glIsProgram testing 2013-02-15 17:43:05 +01: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_ps_workaround.c gles workaround 2013-02-08 19:47:32 -08:00
gl_ps_workaround2.c another gl workaround 2013-02-17 13:59:48 +01:00
gl_subdata.cpp fix glBufferSubData 2012-11-23 13:57:35 +01:00
glbegin_points.c support glBegin on GL_POINTS; fixes #793 2013-01-19 16:31:47 -08:00
glbegin_points.png support glBegin on GL_POINTS; fixes #793 2013-01-19 16:31:47 -08: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 close browser test windows in almost all tests, making the browser tests much more automatic 2012-04-11 11:47:42 -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 fix stack rewinding bug, and add life test and benchmark 2013-01-26 13:42:39 -08: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
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 pull request #986 from caiiiycuk/offsets_test 2013-03-25 15:44:52 -07:00
s3tc.c s3tc compression support 2012-06-13 18:23:47 -07:00
s3tc.png s3tc compression support 2012-06-13 18:23:47 -07:00
s3tc_crunch.c support for non-square crunch textures with mipmaps 2012-06-20 10:56:18 -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_audio.c Added some SDL_Mixer calls: 2013-02-22 10:47:23 -05: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 headless option 2012-11-13 11:27:22 -08: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 Choose better names for the test files 2012-06-21 15:43:39 -04:00
sdl_fog_exp2.c Implement GL_EXP2 fog mode 2012-06-21 15:44:17 -04:00
sdl_fog_linear.c Implement GL_LINEAR fog mode 2012-06-21 16:01:32 -04:00
sdl_fog_negative.c Add a test case for negative distances 2012-06-22 15:41:54 -04:00
sdl_fog_simple.c Choose better names for the test files 2012-06-21 15:43:39 -04: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_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 add full support for glColorX both in glBegin/End and out 2012-05-07 10:27:52 -07:00
sdl_ogl_defaultMatrixMode.c Fix the incorrect initial value of GL.immediate.currentMatrix 2012-05-16 15:03:58 -04:00
sdl_ogl_p.c glVertex2fv, +tests 2012-11-13 13:22:24 -08: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 zoomSurface support; fixes #673 2012-11-12 18:40:23 -08:00
sdl_rotozoom.png zoomSurface support; fixes #673 2012-11-12 18:40:23 -08: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 add skinning benchmark 2011-11-07 10:17:11 -08: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
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 Merge pull request #857 from caiiiycuk/writefds 2013-02-26 17:55:39 -08:00
websockets_bi.c Fix '-1' problem in recv 2013-01-30 22:05:11 +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 fix networking for both stream and dgram 2013-01-05 12:15:05 -08: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 '-1' problem in recv 2013-01-30 22:05:11 +07:00
websockets_partial.c fix test_websockets_partial 2013-02-04 20:33:33 -08: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