Skip to content
Snippets Groups Projects
Forked from VTK / VTK
Source project has a limited visibility.
  • Jaswant Panchumarti (Kitware)'s avatar
    bc3e52b6
    Prep VTK C++ tests to run in browsers · bc3e52b6
    Jaswant Panchumarti (Kitware) authored
    - enablesr Rendering{Core, OpenGL}CxxTests in browser with vtk.wasm.
    - upgrades to CI can be found in the next commit.
    - all C++ tests are run with a python script Testing/WebAssembly/runner.py. This script coordinates the entire wasm testing process.
    - the runner.py script generates a html file per unit test at runtime, serves the html, js and wasm files with a http server and opens the URL in a browser. It implements some usefule POST/GET actions which enable C++ tests to preload/dump files and forward stdout/stderr/exit codes to the python process.
    - this commit introduces vtkEmscriptenTestUtilities which can load data files and baseline images required by a c++ unit test from a browser sandbox.
    bc3e52b6
    History
    Prep VTK C++ tests to run in browsers
    Jaswant Panchumarti (Kitware) authored
    - enablesr Rendering{Core, OpenGL}CxxTests in browser with vtk.wasm.
    - upgrades to CI can be found in the next commit.
    - all C++ tests are run with a python script Testing/WebAssembly/runner.py. This script coordinates the entire wasm testing process.
    - the runner.py script generates a html file per unit test at runtime, serves the html, js and wasm files with a http server and opens the URL in a browser. It implements some usefule POST/GET actions which enable C++ tests to preload/dump files and forward stdout/stderr/exit codes to the python process.
    - this commit introduces vtkEmscriptenTestUtilities which can load data files and baseline images required by a c++ unit test from a browser sandbox.