Commit aff4d490 authored by Feng Yu's avatar Feng Yu Committed by V8 LUCI CQ

[test] Migrate cctest/test-web-snapshots to unittests/

Bug: v8:12781
Change-Id: I2077523dad94bfcc5696e8bc05df496c7f3aa419
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3813072Reviewed-by: 's avatarJakob Linke <jgruber@chromium.org>
Commit-Queue: Jakob Linke <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82380}
parent a784ec8a
...@@ -220,7 +220,6 @@ v8_source_set("cctest_sources") { ...@@ -220,7 +220,6 @@ v8_source_set("cctest_sources") {
"test-utils.cc", "test-utils.cc",
"test-verifiers.cc", "test-verifiers.cc",
"test-weakmaps.cc", "test-weakmaps.cc",
"test-web-snapshots.cc",
"torque/test-torque.cc", "torque/test-torque.cc",
"trace-extension.cc", "trace-extension.cc",
"trace-extension.h", "trace-extension.h",
......
...@@ -1118,7 +1118,6 @@ ...@@ -1118,7 +1118,6 @@
'test-weak-references/WeakReferencesBasic': [SKIP], 'test-weak-references/WeakReferencesBasic': [SKIP],
'test-weakmaps/WeakMapsWithChainedEntries': [SKIP], 'test-weakmaps/WeakMapsWithChainedEntries': [SKIP],
'test-weakmaps/Weakness': [SKIP], 'test-weakmaps/Weakness': [SKIP],
'test-web-snapshots/SFIDeduplicationAfterBytecodeFlushing': [SKIP],
# Timeout (too many GCs) # Timeout (too many GCs)
'test-heap/Regress8014': [SKIP], 'test-heap/Regress8014': [SKIP],
'test-accessors/HandleScopePop': [SKIP], 'test-accessors/HandleScopePop': [SKIP],
...@@ -1126,10 +1125,6 @@ ...@@ -1126,10 +1125,6 @@
################################################################################ ################################################################################
['variant == always_sparkplug', { ['variant == always_sparkplug', {
# SFI deduplication tests check compilation state, which always_sparkplug
# can break.
'test-web-snapshots/SFIDeduplication*': [SKIP],
# %ObserveNode tests rely on TurboFan. # %ObserveNode tests rely on TurboFan.
'test-calls-with-arraylike-or-spread/*': [SKIP], 'test-calls-with-arraylike-or-spread/*': [SKIP],
}], }],
......
...@@ -493,6 +493,7 @@ v8_source_set("unittests_sources") { ...@@ -493,6 +493,7 @@ v8_source_set("unittests_sources") {
"utils/sparse-bit-vector-unittest.cc", "utils/sparse-bit-vector-unittest.cc",
"utils/utils-unittest.cc", "utils/utils-unittest.cc",
"utils/version-unittest.cc", "utils/version-unittest.cc",
"web-snapshot/web-snapshot-unittest.cc",
"zone/zone-allocator-unittest.cc", "zone/zone-allocator-unittest.cc",
"zone/zone-chunk-list-unittest.cc", "zone/zone-chunk-list-unittest.cc",
"zone/zone-unittest.cc", "zone/zone-unittest.cc",
......
...@@ -201,6 +201,7 @@ ...@@ -201,6 +201,7 @@
'UnifiedHeapTest.FindingV8ToBlinkReference': [SKIP], 'UnifiedHeapTest.FindingV8ToBlinkReference': [SKIP],
'ManagedTest.GCCausesDestruction': [SKIP], 'ManagedTest.GCCausesDestruction': [SKIP],
'WeakSetsTest.WeakSet_Weakness': [SKIP], 'WeakSetsTest.WeakSet_Weakness': [SKIP],
'WebSnapshotTest.SFIDeduplicationAfterBytecodeFlushing': [SKIP],
# CodeRange tests # CodeRange tests
'CodePagesTest.LargeCodeObjectWithSignalHandler': [SKIP], 'CodePagesTest.LargeCodeObjectWithSignalHandler': [SKIP],
...@@ -218,6 +219,13 @@ ...@@ -218,6 +219,13 @@
'FactoryCodeBuilderOOMTest.Factory_CodeBuilder_TryBuildOOM': [SKIP], 'FactoryCodeBuilderOOMTest.Factory_CodeBuilder_TryBuildOOM': [SKIP],
}], # third_party_heap }], # third_party_heap
################################################################################
['variant == always_sparkplug', {
# SFI deduplication tests check compilation state, which always_sparkplug
# can break.
'WebSnapshotTest.SFIDeduplication*': [SKIP],
}],
############################################################################## ##############################################################################
['byteorder == big', { ['byteorder == big', {
# Peephole optimization not supported on big-endian machines. # Peephole optimization not supported on big-endian machines.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment