forked from electron/electron
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: run unittests on clean Chromium (electron#15125)
* ci: run unittests on clean Chromium * test: add '--run-only-disabled-tests' flag to "script/native-tests.py" * ci: add a job to run only disabled unittests * test: use a different GN config for the native tests * test: enable blink_common_unittests * test: disable WeakPtrDeathTest*
- Loading branch information
1 parent
13247e5
commit 5e19915
Showing
7 changed files
with
167 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
root_extra_deps = [ "//electron/spec" ] | ||
|
||
dcheck_always_on = true | ||
is_debug = false | ||
is_component_build = false | ||
is_component_ffmpeg = false | ||
symbol_level = 1 | ||
use_jumbo_build = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import("//build/config/features.gni") | ||
import("//printing/buildflags/buildflags.gni") | ||
|
||
group("spec") { | ||
testonly = true | ||
|
||
deps = [ | ||
":chromium_browsertests", | ||
":chromium_unittests", | ||
] | ||
} | ||
|
||
group("chromium_unittests") { | ||
testonly = true | ||
|
||
deps = [ | ||
"//base:base_unittests", | ||
"//cc:cc_unittests", | ||
"//content/test:content_unittests", | ||
"//crypto:crypto_unittests", | ||
"//device:device_unittests", | ||
"//gin:gin_unittests", | ||
"//gpu:gpu_unittests", | ||
"//ipc:ipc_tests", | ||
"//media:media_unittests", | ||
"//media/capture:capture_unittests", | ||
"//media/midi:midi_unittests", | ||
"//media/mojo:media_mojo_unittests", | ||
"//mojo:mojo_unittests", | ||
"//net:net_unittests", | ||
"//ppapi:ppapi_unittests", | ||
"//printing:printing_unittests", | ||
"//skia:skia_unittests", | ||
"//sql:sql_unittests", | ||
"//storage:storage_unittests", | ||
"//third_party/angle/src/tests:angle_unittests", | ||
"//third_party/blink/public:all_blink", | ||
"//third_party/blink/public:test_support", | ||
"//third_party/leveldatabase:env_chromium_unittests", | ||
"//ui/base:ui_base_unittests", | ||
"//ui/compositor:compositor_unittests", | ||
"//ui/display:display_unittests", | ||
"//ui/events:events_unittests", | ||
"//ui/gl:gl_unittests", | ||
"//url:url_unittests", | ||
"//url/ipc:url_ipc_unittests", | ||
"//v8/test/unittests:unittests", | ||
] | ||
|
||
if (enable_basic_printing) { | ||
deps += [ "//printing:printing_unittests" ] | ||
} | ||
|
||
if (is_linux) { | ||
deps += [ | ||
"//net:disk_cache_memory_test", | ||
"//sandbox/linux:sandbox_linux_unittests", | ||
] | ||
|
||
if (use_dbus) { | ||
deps += [ "//dbus:dbus_unittests" ] | ||
} | ||
} | ||
} | ||
|
||
group("chromium_browsertests") { | ||
testonly = true | ||
|
||
deps = [ | ||
"//content/test:content_browsertests", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters