Bug 1543632 - Part 1: Move xpcshell tests under tools/profiler/tests to their own dir r=mstange
authorNazım Can Altınova <canaltinova@gmail.com>
Tue, 30 Apr 2019 09:49:53 +0000
changeset 530721 40b0b6090045bafcb3acac298ee7a380fc34c563
parent 530720 4b550f29706aa5833edb64db3189fb7daeb9b298
child 530722 86177fbcca6284a9f3d66224fcb8289f038330cb
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1543632
milestone68.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 1543632 - Part 1: Move xpcshell tests under tools/profiler/tests to their own dir r=mstange Differential Revision: https://phabricator.services.mozilla.com/D27676
tools/profiler/moz.build
tools/profiler/tests/.eslintrc.js
tools/profiler/tests/head_profiler.js
tools/profiler/tests/test_asm.js
tools/profiler/tests/test_enterjit_osr.js
tools/profiler/tests/test_enterjit_osr_disabling.js
tools/profiler/tests/test_enterjit_osr_enabling.js
tools/profiler/tests/test_feature_mainthreadio.js
tools/profiler/tests/test_get_features.js
tools/profiler/tests/test_pause.js
tools/profiler/tests/test_run.js
tools/profiler/tests/test_shared_library.js
tools/profiler/tests/test_start.js
tools/profiler/tests/xpcshell.ini
tools/profiler/tests/xpcshell/head_profiler.js
tools/profiler/tests/xpcshell/test_asm.js
tools/profiler/tests/xpcshell/test_enterjit_osr.js
tools/profiler/tests/xpcshell/test_enterjit_osr_disabling.js
tools/profiler/tests/xpcshell/test_enterjit_osr_enabling.js
tools/profiler/tests/xpcshell/test_feature_mainthreadio.js
tools/profiler/tests/xpcshell/test_get_features.js
tools/profiler/tests/xpcshell/test_pause.js
tools/profiler/tests/xpcshell/test_run.js
tools/profiler/tests/xpcshell/test_shared_library.js
tools/profiler/tests/xpcshell/test_start.js
tools/profiler/tests/xpcshell/xpcshell.ini
--- a/tools/profiler/moz.build
+++ b/tools/profiler/moz.build
@@ -156,17 +156,17 @@ if CONFIG['MOZ_TASK_TRACER']:
         'tasktracer/SourceEventTypeMap.h',
         'tasktracer/TracedTaskCommon.h',
     ]
     UNIFIED_SOURCES += [
         'tasktracer/GeckoTaskTracer.cpp',
         'tasktracer/TracedTaskCommon.cpp',
     ]
 
-XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell.ini']
+XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome/chrome.ini']
 
 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
     CXXFLAGS += [
         '-Wno-error=shadow',
         '-Wno-ignored-qualifiers', # due to use of breakpad headers
     ]
 
deleted file mode 100644
--- a/tools/profiler/tests/.eslintrc.js
+++ /dev/null
@@ -1,7 +0,0 @@
-"use strict";
-
-module.exports = {
-  "extends": [
-    "plugin:mozilla/xpcshell-test"
-  ]
-};
rename from tools/profiler/tests/head_profiler.js
rename to tools/profiler/tests/xpcshell/head_profiler.js
rename from tools/profiler/tests/test_asm.js
rename to tools/profiler/tests/xpcshell/test_asm.js
rename from tools/profiler/tests/test_enterjit_osr.js
rename to tools/profiler/tests/xpcshell/test_enterjit_osr.js
rename from tools/profiler/tests/test_enterjit_osr_disabling.js
rename to tools/profiler/tests/xpcshell/test_enterjit_osr_disabling.js
rename from tools/profiler/tests/test_enterjit_osr_enabling.js
rename to tools/profiler/tests/xpcshell/test_enterjit_osr_enabling.js
rename from tools/profiler/tests/test_feature_mainthreadio.js
rename to tools/profiler/tests/xpcshell/test_feature_mainthreadio.js
rename from tools/profiler/tests/test_get_features.js
rename to tools/profiler/tests/xpcshell/test_get_features.js
rename from tools/profiler/tests/test_pause.js
rename to tools/profiler/tests/xpcshell/test_pause.js
rename from tools/profiler/tests/test_run.js
rename to tools/profiler/tests/xpcshell/test_run.js
rename from tools/profiler/tests/test_shared_library.js
rename to tools/profiler/tests/xpcshell/test_shared_library.js
rename from tools/profiler/tests/test_start.js
rename to tools/profiler/tests/xpcshell/test_start.js
rename from tools/profiler/tests/xpcshell.ini
rename to tools/profiler/tests/xpcshell/xpcshell.ini