![]() You can find out more about GoogleTest at its GitHub page. You can also limit which tests are run using the -gtest_filter arg, e.g.: $ out / Default / unit_tests - gtest_filter = "BrowserListUnitTest.*" You can run the tests by running the unit_tests binary. The unit_tests binary can be built by running the following command: $ autoninja - C out / Default unit_tests In the example above, the target is unit_tests. To see what target a given unit test or browser test file corresponds to, the following command can be used: $ gn refs out / Default - testonly = true - type = executable - all chrome / browser / ui / browser_list_unittest. Tests are split into multiple test targets based on their type and where they exist in the directory structure. This means if you launch Chrome from an SSH session, the UI output will be available in Chrome Remote Desktop. X11 - unix - maxdepth 1 - mindepth 1 - name 'X*' | Rather, you should use either $HOME or the absolute path: $ export PATH = "$PATH:$" ]] then export DISPLAY =: $ (įind / tmp /. When cloning depot_tools to your home directory do not use ~ on PATH, otherwise gclient runhooks will fail to run. Assuming you cloned depot_tools to /path/to/depot_tools: $ export PATH = "$PATH:/path/to/depot_tools" Install depot_toolsĬlone the depot_tools repository: $ git clone https : ///chromium/tools/depot_tools.gitĪdd depot_tools to the end of your PATH (you will probably want to put this in your ~/.bashrc or ~/.zshrc). See this bug for additional details on this. There may be additional Docker-specific issues during compilation. ![]() If you choose to compile from within a container for whatever reason, you will need to make sure that the following tools are available: Access web browsers, mobile emulators, simulators, and real mobile devices. ![]() While it is not a common setup, Chromium compilation should work from within a Docker container. The worlds largest continuous testing cloud of web and mobile applications. There are some instructions for other distros below, but they are mostly unsupported. Most development is done on Ubuntu (Chromium's build infrastructure currently runs 22.04, Jammy Jellyfish). You must have Git and Python v3.6+ installed already (and python3 must point to a Python v3.6+ binary).A 64-bit Intel machine with at least 8GB of RAM. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |