Skip to content

Commit 7223692

Browse files
authored
Merge pull request #35786 from apple/revert-35752-revert-disable73834542
Revert "Revert "[Tests] Disable process-stats-dir.py related tests""
2 parents ea8c273 + efb7829 commit 7223692

22 files changed

+24
-1
lines changed

test/Driver/pipe_round_robin.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Windows doesn't track/use read() and poll()
22
// UNSUPPORTED: windows
3+
// REQUIRES: rdar73834542
34
// RUN: %empty-directory(%t/manyfuncs)
45
// RUN: %empty-directory(%t/stats)
56
//

test/Misc/stats_dir.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: %empty-directory(%t)
23
// RUN: %target-swift-frontend -c -o %t/out.o -stats-output-dir %t %s
34
// RUN: %{python} %utils/process-stats-dir.py --set-csv-baseline %t/frontend.csv %t

test/Misc/stats_dir_failure_count.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Check that a failed process-tree emits nonzero failure counters
2+
// REQUIRES: rdar73834542
23
// RUN: %empty-directory(%t)
34
// RUN: echo zzz >%t/other.swift
45
// RUN: not %target-swiftc_driver -continue-building-after-errors -D BROKEN -j 2 -typecheck -stats-output-dir %t %s %t/other.swift

test/Misc/stats_dir_instructions.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: OS=macosx
2+
// REQUIRES: rdar73834542
23
// RUN: %empty-directory(%t)
34
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t %s
45
// RUN: %{python} %utils/process-stats-dir.py --set-csv-baseline %t/frontend.csv %t

test/Misc/stats_dir_long_path_name.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// REQUIRES: OS=macosx
2+
// REQUIRES: rdar73834542
23
// RUN: %empty-directory(%t)
34
// RUN: mkdir -p %t/very-long-directory-name-that-contains-over-128-characters-which-is-not-enough-to-be-illegal-on-its-own-but-presents
45
// RUN: cp %s %t/very-long-directory-name-that-contains-over-128-characters-which-is-not-enough-to-be-illegal-on-its-own-but-presents/a-problem-when-combined-with-other-long-path-elements-and-filenames-to-exceed-256-characters-combined-because-yay-arbitrary-limits-amirite.swift

test/Misc/stats_dir_plausible_maxrss.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: %empty-directory(%t)
23
// RUN: touch %t/main.swift
34
// RUN: %target-swiftc_driver -o %t/main -module-name main -stats-output-dir %t %t/main.swift

test/NameLookup/named_lazy_member_loading_anyobject.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: OS=macosx
3+
// REQUIRES: rdar73834542
34
//
45
// RUN: %target-swift-frontend -typecheck -I %S/Inputs/NamedLazyMembers %s -verify
56

test/NameLookup/named_lazy_member_loading_objc_category.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: OS=macosx
3+
// REQUIRES: rdar73834542
34
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
45
//
56
// Prime module cache

test/NameLookup/named_lazy_member_loading_objc_interface.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: OS=macosx
3+
// REQUIRES: rdar73834542
34
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
45
//
56
// Prime module cache

test/NameLookup/named_lazy_member_loading_objc_protocol.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: OS=macosx
3+
// REQUIRES: rdar73834542
34
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
45
//
56
// Prime module cache

test/NameLookup/named_lazy_member_loading_protocol_mirroring.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: objc_interop
22
// REQUIRES: OS=macosx
3+
// REQUIRES: rdar73834542
34
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
45
//
56
// Prime module cache
@@ -37,4 +38,4 @@ public func foo(d: PrivateDoer) {
3738

3839
let _ = d.__count
3940
let _ = d.__object(forKey: nil)
40-
}
41+
}

test/NameLookup/named_lazy_member_loading_swift_class.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_class_type.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_derived_class.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_derived_class_type.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_enum.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_proto.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_struct.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_struct_ext.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/NameLookup/named_lazy_member_loading_swift_struct_ext_mem.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats-pre && mkdir -p %t/stats-post
23
//
34
// Compile swiftmodule with decl member name tables

test/SILOptimizer/hello-world.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: rdar73834542
12
// RUN: rm -rf %t && mkdir -p %t/stats
23
// RUN: %target-swift-frontend -emit-sil -stats-output-dir %t/stats %s -o /dev/null
34
// RUN: %{python} %utils/process-stats-dir.py --evaluate 'NumSILGenFunctions < 10' %t/stats

validation-test/compiler_scale/parse_array_nested.swift.gyb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %scale-test -parse --begin 0 --end 10 --step 1 --select NumASTBytes %s
22

3+
// REQUIRES: rdar73834542
4+
35
%for i in range(1, N + 1):
46
[
57
%end

0 commit comments

Comments
 (0)