Bug 1806888 [wpt PR 37636] - Ensure we run resources unit tests when changing testhar...
[gecko.git] / .hgignore
blobaa8ee10d9fd80fb43ddb30047ed230a93b8dd5da
1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
4 ~$
5 \.py(c|o)$
6 (^|/)TAGS$
7 (^|/)tags$
8 (^|/)ID$
9 (^|/)\.DS_Store$
10 \.pdb
11 \.eslintcache
12 \.gcda
13 \.gcno
14 \.gcov
15 compile_commands\.json
17 # Generated by hg (e.g. revert, failed patch, ...)
18 \.orig$
19 \.rej$
21 # Ignore Python .egg-info directories for first-party modules (but,
22 # still add vendored packages' .egg-info directories)
23 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
25 # Vim swap files.
26 ^\.sw.$
27 .[^/]*\.sw.$
29 # Emacs directory variable files.
30 \.dir-locals\.el
31 # Emacs project sentinel files.
32 \.projectile
34 # User files that may appear at the root
35 ^\.clang-tidy
36 ^\.mozconfig
37 ^mozconfig*
38 ^old-configure$
39 ^config\.cache$
40 ^config\.log$
41 ^\.clang_complete
42 ^\.?machrc$
43 # pyenv artifact
44 ^\.python-version$
46 # Empty marker file that's generated when we check out NSS
47 ^security/manager/\.nss\.checkout$
49 # Build directories
50 ^obj
52 # gecko.log is generated by various test harnesses
53 ^gecko\.log
55 # Ignore newtab component build assets
56 ^browser/components/newtab/logs/
58 # Ignore Pocket component build and dev assets
59 browser/components/pocket/content/panels/css/main.compiled.css.map
61 # Build directories for js shell
62 _DBG\.OBJ/
63 _OPT\.OBJ/
64 ^js/src/.*-obj/
65 ^js/src/obj-.*/
67 # SpiderMonkey configury
68 ^js/src/old-configure$
69 ^js/src/autom4te.cache$
70 # SpiderMonkey test result logs
71 ^js/src/tests/results-.*\.(html|txt)$
72 ^js/src/devtools/rootAnalysis/t/out
73 # SpiderMonkey wasm/generate-spectests artifacts
74 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
75 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
76 ^js/src/jit-test/etc/wasm/generate-spectests/target/
78 # Java HTML5 parser classes
79 ^parser/html/java/(html|java)parser/
81 # SVN directories
82 \.svn/
84 # Ignore the files and directory that Eclipse IDE creates
85 \.project$
86 \.cproject$
87 \.settings/
89 # Ignore the files and directory that JetBrains IDEs create.
90 \.idea/
91 \.iml$
92 # Android Monitor in Android Studio creates a captures/ directory.
93 ^captures/
95 # Gradle cache.
96 ^.gradle/
98 # Local Gradle configuration properties.
99 ^local.properties$
101 # Git repositories
102 .git/
104 # Ignore chrome.manifest files from the devtools loader
105 ^devtools/client/chrome.manifest$
106 ^devtools/shared/chrome.manifest$
108 # Ignore node_modules directories in devtools
109 ^devtools/.*/node_modules/
111 # Ignore node_module directories and npm artifacts
112 ^remote/test/puppeteer/.*\.tsbuildinfo
113 ^remote/test/puppeteer/\.github
114 ^remote/test/puppeteer/\.husky
115 ^remote/test/puppeteer/\.local-chromium/
116 ^remote/test/puppeteer/\.local-firefox/
117 ^remote/test/puppeteer/coverage/
118 ^remote/test/puppeteer/docker/
119 ^remote/test/puppeteer/docs/puppeteer\.api\.json
120 ^remote/test/puppeteer/experimental/
121 ^remote/test/puppeteer/lib/
122 ^remote/test/puppeteer/node_modules/
123 ^remote/test/puppeteer/package-lock\.json
124 ^remote/test/puppeteer/puppeteer.*\.tgz
125 ^remote/test/puppeteer/src/generated
126 ^remote/test/puppeteer/test/build
127 ^remote/test/puppeteer/test/output-firefox
128 ^remote/test/puppeteer/test/output-chromium
129 ^remote/test/puppeteer/website
131 # git checkout of libstagefright
132 ^media/libstagefright/android$
134 # Tag files generated by GNU Global
135 (^|/)GTAGS$
136 (^|/)GRTAGS$
137 (^|/)GSYMS$
138 (^|/)GPATH$
140 # Git clone directory for updating web-platform-tests
141 ^testing/web-platform/sync/
143 # Third party metadata for web-platform-tests
144 ^testing/web-platform/products/
146 # Android Gradle artifacts.
147 ^mobile/android/gradle/.gradle
149 # XCode project cruft
150 ^[^/]*\.xcodeproj/
152 # Rust/Cargo output from running `cargo` directly
153 ^target/
154 ^servo/ports/geckolib/target/
155 ^dom/base/rust/target/
156 ^servo/components/style/target/
158 # Ignore mozharness execution files
159 ^testing/mozharness/.tox/
160 ^testing/mozharness/build/
161 ^testing/mozharness/logs/
162 ^testing/mozharness/.coverage
163 ^testing/mozharness/nosetests.xml
165 # Ignore tox generated dir
166 .tox/
168 # Ignore ESLint and other tool's node_modules.
169 ^node_modules/
170 ^tools/browsertime/node_modules/
171 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
172 ^browser/components/newtab/node_modules/
173 ^tools/esmify/node_modules/
175 # Ignore talos virtualenv and tp5n files.
176 # The tp5n set is supposed to be decompressed at
177 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
178 # locally. Similarly, running talos requires a Python package virtual
179 # environment. Both the virtual environment and tp5n files end up littering
180 # the status command, so we ignore them.
181 ^testing/talos/.Python
182 ^testing/talos/bin/
183 ^testing/talos/include/
184 ^testing/talos/lib/
185 ^testing/talos/talos/fis/tp5n.zip
186 ^testing/talos/talos/fis/tp5n.tar.gz
187 ^testing/talos/talos/fis/tp5n
188 ^testing/talos/talos/tests/tp5n.zip
189 ^testing/talos/talos/tests/tp5n.tar.gz
190 ^testing/talos/talos/tests/tp5n
191 ^testing/talos/talos/tests/devtools/damp.manifest.develop
192 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
193 ^testing/talos/talos/webextensions/
194 ^talos-venv
195 ^py3venv
196 ^testing/talos/talos/mitmproxy/mitmdump
197 ^testing/talos/talos/mitmproxy/mitmproxy
198 ^testing/talos/talos/mitmproxy/mitmweb
200 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
201 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
202 # i.e. speedometer, motionmark, stylebench
203 ^testing/talos/talos/tests/webkit/PerformanceTests
205 # Ignore toolchains.json created by tooltool.
206 ^toolchains\.json
208 # Unit test
209 \.pytest_cache/
211 # Ignore files created when running a reftest.
212 ^lextab.py$
214 # Ignore sync tps logs and reports
215 tps\.log
216 tps_result\.json
218 # Ignore Visual Studio/Visual Studio Code workspace files.
219 \.vs/
220 \.vscode/(?!extensions\.json|tasks\.json)
221 \.user$
223 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
224 ^comm/
226 # Ignore various raptor performance framework files
227 ^testing/raptor/.raptor-venv
228 ^testing/raptor/raptor-venv
229 ^testing/raptor/raptor/tests/json/
230 ^testing/raptor/webext/raptor/auto_gen_test_config.js
232 # Ignore condprofile build directory
233 ^testing/condprofile/build
235 # Ignore browsertime output directory
236 ^browsertime-results
238 # Ignore the build directories of WebGPU and WebRender standalone builds.
239 gfx/wgpu/target
240 gfx/wgpu/.*/build
241 gfx/wr/target/
243 # Ignore this files in certviewer
244 toolkit/components/certviewer/content/node_modules/
245 toolkit/components/certviewer/content/package-lock.json
247 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
248 ^taskcluster/docker/image_builder/build-image/target
250 # Ignore ICU4X experimentation data files.
251 # See intl/ICU4X.md for more details.
252 ^config/external/icu4x
254 # Ignore the index files generated by clangd.
255 ^.cache/clangd/index/
257 # Ignore mypy files
258 \.mypy_cache/
260 # Ignore Storybook generated files
261 ^browser/components/storybook/node_modules/
262 ^browser/components/storybook/storybook-static/
263 ^browser/components/storybook/.storybook/rewrites.js
265 # Ignore jscodeshift installed by mach esmify on windows
266 ^tools/esmify/jscodeshift
267 ^tools/esmify/jscodeshift.cmd
268 ^tools/esmify/jscodeshift.ps1
269 ^tools/esmify/package-lock.json
271 # Ignore support files for en-US dictionary updates
272 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
273 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
274 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*