Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: mojo/tools/data/fusl_apptests

Issue 1701193002: [fusl] Build example apptests under fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/devtools/common/mojo_test ('k') | mojo/tools/get_test_list.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/data/fusl_apptests
diff --git a/mojo/tools/data/fusl_apptests b/mojo/tools/data/fusl_apptests
new file mode 100644
index 0000000000000000000000000000000000000000..4f153190c0dfddb3b6efb613e03b91c82a6b254b
--- /dev/null
+++ b/mojo/tools/data/fusl_apptests
@@ -0,0 +1,88 @@
+# This file contains a list of fusl-backed Mojo apptests to run. For
+# description of the file format, see `mojo_test` in devtools.
+
+# TODO(kulakowski) Figure out how to deduplicate app tests. There's no
+# particular reason to run against both the host glibc and fusl.
+
+import os.path
+
+_ORIGIN = os.path.join(os.path.dirname(shell_path), "fusl_x64")
+_ORIGIN_ARG = "--origin=file://" + _ORIGIN
+
+tests = [
+ {
+ "test": "mojo:asset_bundle_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:authenticating_url_loader_interceptor_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:benchmark_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:clipboard_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:example_apptests",
+ # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
+ "shell-args": [ _ORIGIN_ARG ],
+ "test-args": ["--example_apptest_arg"],
+ },
+ {
+ "test": "mojo:example_apptests",
+ "name": "mojo:example_apptests (multiprocess)",
+ # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
+ "test-args": ["--example_apptest_arg"],
+ "shell-args": [
+ _ORIGIN_ARG,
+ "--enable-multiprocess"
+ ],
+ },
+ {
+ "test": "mojo:files_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:http_server_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:log_impl_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:moterm_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:prediction_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:url_response_disk_cache_apptests",
+ "shell-args": [ _ORIGIN_ARG ],
+ },
+ {
+ "test": "mojo:example_apptests",
+ "name": "mojo:example_apptests (python_example_service)",
+ # ExampleApplicationTest.CheckCommandLineArg checks --example_apptest_arg.
+ "test-args": ["--example_apptest_arg"],
+ "shell-args": [
+ "--url-mappings=mojo:example_service=mojo:python_example_service",
+ _ORIGIN_ARG,
+ ],
+ },
+ {
+ "test": "mojo:mojo_url_redirector_apptests",
+ "test-args": ["--redirector_port=49152",
+ "--app_location_files_port=49153"],
+ "shell-args": [
+ "--args-for=mojo:mojo_url_redirector 0.0.0.0:49152 http://localhost:49153",
+ _ORIGIN_ARG,
+ ],
+ }
+]
« no previous file with comments | « mojo/devtools/common/mojo_test ('k') | mojo/tools/get_test_list.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698