Skip to content

Commit 0a413f0

Browse files
committed
Comment why this test overrides the default test optimization settings
1 parent a7364ee commit 0a413f0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

validation-test/Casting/BoxingCasts.swift.gyb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
// RUN: %target-codesign %t/a.swift5.Onone.out
2121
// RUN: %line-directive %t/BoxingCasts.swift -- %target-run %t/a.swift5.Onone.out
2222
//
23-
// XXX FIXME XXX Optimized builds currently break a lot of casts
24-
// XXX Note the above RUN directives always build and run non-optimized
23+
// Note: The RUN directives above override the default test optimizations.
24+
// This test is deliberately run non-optimized in order to verify the
25+
// behavior of runtime methods that may not be called for optimized casts.
26+
//
27+
// XXX FIXME XXX TODO XXX _Also_ build this with optimizations in order to
28+
// verify compiler behaviors.
2529
//
2630
// REQUIRES: executable_test
2731

0 commit comments

Comments
 (0)