OLD | NEW |
(Empty) | |
| 1 # This file contains a list of fusl-backed Mojo apptests to run. For |
| 2 # description of the file format, see `mojo_test` in devtools. |
| 3 |
| 4 # TODO(kulakowski) Figure out how to deduplicate app tests. There's no |
| 5 # particular reason to run against both the host glibc and fusl. |
| 6 |
| 7 import os.path |
| 8 |
| 9 _ORIGIN = os.path.join(os.path.dirname(shell_path), "fusl_x64") |
| 10 _ORIGIN_ARG = "--origin=file://" + _ORIGIN |
| 11 |
| 12 tests = [ |
| 13 { |
| 14 "test": "mojo:asset_bundle_apptests", |
| 15 "shell-args": [ _ORIGIN_ARG ], |
| 16 }, |
| 17 { |
| 18 "test": "mojo:authenticating_url_loader_interceptor_apptests", |
| 19 "shell-args": [ _ORIGIN_ARG ], |
| 20 }, |
| 21 { |
| 22 "test": "mojo:benchmark_apptests", |
| 23 "shell-args": [ _ORIGIN_ARG ], |
| 24 }, |
| 25 { |
| 26 "test": "mojo:clipboard_apptests", |
| 27 "shell-args": [ _ORIGIN_ARG ], |
| 28 }, |
| 29 { |
| 30 "test": "mojo:example_apptests", |
| 31 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. |
| 32 "shell-args": [ _ORIGIN_ARG ], |
| 33 "test-args": ["--example_apptest_arg"], |
| 34 }, |
| 35 { |
| 36 "test": "mojo:example_apptests", |
| 37 "name": "mojo:example_apptests (multiprocess)", |
| 38 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. |
| 39 "test-args": ["--example_apptest_arg"], |
| 40 "shell-args": [ |
| 41 _ORIGIN_ARG, |
| 42 "--enable-multiprocess" |
| 43 ], |
| 44 }, |
| 45 { |
| 46 "test": "mojo:files_apptests", |
| 47 "shell-args": [ _ORIGIN_ARG ], |
| 48 }, |
| 49 { |
| 50 "test": "mojo:http_server_apptests", |
| 51 "shell-args": [ _ORIGIN_ARG ], |
| 52 }, |
| 53 { |
| 54 "test": "mojo:log_impl_apptests", |
| 55 "shell-args": [ _ORIGIN_ARG ], |
| 56 }, |
| 57 { |
| 58 "test": "mojo:moterm_apptests", |
| 59 "shell-args": [ _ORIGIN_ARG ], |
| 60 }, |
| 61 { |
| 62 "test": "mojo:prediction_apptests", |
| 63 "shell-args": [ _ORIGIN_ARG ], |
| 64 }, |
| 65 { |
| 66 "test": "mojo:url_response_disk_cache_apptests", |
| 67 "shell-args": [ _ORIGIN_ARG ], |
| 68 }, |
| 69 { |
| 70 "test": "mojo:example_apptests", |
| 71 "name": "mojo:example_apptests (python_example_service)", |
| 72 # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg. |
| 73 "test-args": ["--example_apptest_arg"], |
| 74 "shell-args": [ |
| 75 "--url-mappings=mojo:example_service=mojo:python_example_service", |
| 76 _ORIGIN_ARG, |
| 77 ], |
| 78 }, |
| 79 { |
| 80 "test": "mojo:mojo_url_redirector_apptests", |
| 81 "test-args": ["--redirector_port=49152", |
| 82 "--app_location_files_port=49153"], |
| 83 "shell-args": [ |
| 84 "--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://localhost:49153"
, |
| 85 _ORIGIN_ARG, |
| 86 ], |
| 87 } |
| 88 ] |
OLD | NEW |