tree: 58372bc3b6e4ce3d4d7901b03cf5113a716b31f2 [path history] [tgz]
  1. impl/
  2. __init__.py
  3. readme.md
  4. run.py
  5. run_black_box_tests.py
  6. run_platform_tests.py
  7. run_tests.py
src/cobalt/build/cobalt_archive_content/__cobalt_archive/run/readme.md

Trampoline Readme

Trampoline: An operation which will forward control to a delegate.

Maps f(device_id) -> g(platform, config, device_id)

Trampolines reduce the complexity for invoking cobalt/starboard binaries and tests by reading parameters from the metadata.json file of a Cobalt Archive. The delegate is then run with the full command-line argument set including platform and configuration data. The calling signature is therefore stable and any Cobalt archive can be run the same binaries/tests using the same shell command.

Example: python __cobalt_archive/run/run_cobalt.py --device_id IP

Could translate into: python starboard/tools/example/app_launcher_client.py -t cobalt --platform linux --config devel --device_id IP