Bug 1380659 - Move xpcshell and mochitest in different directories. r=me
authorMarco Castelluccio <mcastelluccio@mozilla.com>
Fri, 21 Jul 2017 20:22:07 +0200
changeset 419214 7f8e505bfa44689c3025ef59f599917cbd9046c7
parent 419213 9e581da5ec7fa7ea0d3d03e867d4efb5a1fc6889
child 419215 c9b593e3e697f71dedf28c6a40e4db6a5b3462ab
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1380659
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1380659 - Move xpcshell and mochitest in different directories. r=me
tools/code-coverage/moz.build
tools/code-coverage/tests/.eslintrc.js
tools/code-coverage/tests/head.js
tools/code-coverage/tests/mochitest.ini
tools/code-coverage/tests/mochitest/.eslintrc.js
tools/code-coverage/tests/mochitest/mochitest.ini
tools/code-coverage/tests/mochitest/test_coverage_specialpowers.html
tools/code-coverage/tests/test_basic.js
tools/code-coverage/tests/test_basic_child_and_parent.js
tools/code-coverage/tests/test_coverage_specialpowers.html
tools/code-coverage/tests/xpcshell.ini
tools/code-coverage/tests/xpcshell/.eslintrc.js
tools/code-coverage/tests/xpcshell/head.js
tools/code-coverage/tests/xpcshell/test_basic.js
tools/code-coverage/tests/xpcshell/test_basic_child_and_parent.js
tools/code-coverage/tests/xpcshell/xpcshell.ini
--- a/tools/code-coverage/moz.build
+++ b/tools/code-coverage/moz.build
@@ -23,12 +23,12 @@ if CONFIG['MOZ_CODE_COVERAGE']:
 
     LOCAL_INCLUDES += [
         '/ipc/chromium/src',
         '/xpcom/base',
     ]
 
     include('/ipc/chromium/chromium-config.mozbuild')
 
-    XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
-    MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
+    XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
+    MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
 
     FINAL_LIBRARY = 'xul'
new file mode 100644
--- /dev/null
+++ b/tools/code-coverage/tests/mochitest/.eslintrc.js
@@ -0,0 +1,7 @@
+"use strict";
+
+module.exports = {
+  "extends": [
+    "plugin:mozilla/mochitest-test"
+  ]
+};
rename from tools/code-coverage/tests/mochitest.ini
rename to tools/code-coverage/tests/mochitest/mochitest.ini
rename from tools/code-coverage/tests/test_coverage_specialpowers.html
rename to tools/code-coverage/tests/mochitest/test_coverage_specialpowers.html
rename from tools/code-coverage/tests/.eslintrc.js
rename to tools/code-coverage/tests/xpcshell/.eslintrc.js
rename from tools/code-coverage/tests/head.js
rename to tools/code-coverage/tests/xpcshell/head.js
rename from tools/code-coverage/tests/test_basic.js
rename to tools/code-coverage/tests/xpcshell/test_basic.js
rename from tools/code-coverage/tests/test_basic_child_and_parent.js
rename to tools/code-coverage/tests/xpcshell/test_basic_child_and_parent.js
rename from tools/code-coverage/tests/xpcshell.ini
rename to tools/code-coverage/tests/xpcshell/xpcshell.ini