| OLD | NEW |
| 1 # This file contains a list of Mojo gtest unit tests. | 1 # This file contains a list of Mojo gtest unit tests. |
| 2 # | 2 # |
| 3 # This must be valid Python. It may use the |config| global that will be a | 3 # This must be valid Python. It may use the |config| global that will be a |
| 4 # mopy.config.Config object, and must set a |tests| global that will contain the | 4 # mopy.config.Config object, and must set a |tests| global that will contain the |
| 5 # list of tests to run. | 5 # list of tests to run. |
| 6 # | 6 # |
| 7 # The entries in |tests| are dictionaries of the following form: | 7 # The entries in |tests| are dictionaries of the following form: |
| 8 # { | 8 # { |
| 9 # # Required URL for apptest. | 9 # # Required URL for apptest. |
| 10 # 'test': 'mojo:test_app_url', | 10 # 'test': 'mojo:test_app_url', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 mus_apptests = { 'test': 'mojo:mus_apptests' } | 24 mus_apptests = { 'test': 'mojo:mus_apptests' } |
| 25 # osmesa is not used on android, so no flags are needed for | 25 # osmesa is not used on android, so no flags are needed for |
| 26 # mus_apptests. | 26 # mus_apptests. |
| 27 if config.target_os != config.OS_ANDROID: | 27 if config.target_os != config.OS_ANDROID: |
| 28 mus_apptests['args'] = [ '--use-x11-test-config', | 28 mus_apptests['args'] = [ '--use-x11-test-config', |
| 29 '--override-use-gl-with-osmesa-for-tests' ] | 29 '--override-use-gl-with-osmesa-for-tests' ] |
| 30 | 30 |
| 31 # WARNING: If you add a test make sure the gn target mojo_apptests depends upon | 31 # WARNING: If you add a test make sure the gn target mojo_apptests depends upon |
| 32 # it. | 32 # it. |
| 33 tests = [ | 33 tests = [ |
| 34 { | |
| 35 'test': 'mojo:clipboard_apptests', | |
| 36 'type': 'gtest_isolated', | |
| 37 }, | |
| 38 # TODO(rockot): Flaky. Failing with "Unrecognized --gtest_list_tests output" | 34 # TODO(rockot): Flaky. Failing with "Unrecognized --gtest_list_tests output" |
| 39 # http://crbug.com/569367. | 35 # http://crbug.com/569367. |
| 40 # { | 36 # { |
| 41 # 'test': 'mojo:network_service_apptests', | 37 # 'test': 'mojo:network_service_apptests', |
| 42 # 'type': 'gtest_isolated', | 38 # 'type': 'gtest_isolated', |
| 43 # }, | 39 # }, |
| 44 { | 40 { |
| 45 'test': 'mojo:resource_provider_apptests', | 41 'test': 'mojo:resource_provider_apptests', |
| 46 'type': 'gtest_isolated', | 42 'type': 'gtest_isolated', |
| 47 }, | 43 }, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 }, | 83 }, |
| 88 # TODO(sky): enable when works (http://crbug.com/577274 and likely | 84 # TODO(sky): enable when works (http://crbug.com/577274 and likely |
| 89 # http://crbug.com/569367). | 85 # http://crbug.com/569367). |
| 90 # { | 86 # { |
| 91 # 'test': 'mojo:views_apptests', | 87 # 'test': 'mojo:views_apptests', |
| 92 # 'type': 'gtest_isolated', | 88 # 'type': 'gtest_isolated', |
| 93 # 'args': ['--use-x11-test-config', | 89 # 'args': ['--use-x11-test-config', |
| 94 # '--override-use-gl-with-osmesa-for-tests', '--enable-logging'] | 90 # '--override-use-gl-with-osmesa-for-tests', '--enable-logging'] |
| 95 # }, | 91 # }, |
| 96 ] | 92 ] |
| OLD | NEW |