File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
SwiftCompilerSources/Sources/Optimizer/Utilities Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 2121//
2222//===----------------------------------------------------------------------===//
2323//
24+ // TO TROUBLESHOOT A NEW TEST, consider the following scenarios:
25+ // - PROBLEM: The test isn't running on PLATFORM and the failure says
26+ //
27+ // Found no test named my_new_test.
28+ //
29+ // SOLUTION: Is this a platform one that doesn't use SwiftCompilerSources
30+ // (e.g. Windows)? Then add
31+ //
32+ // // REQUIRES: swift_in_compiler
33+ //
34+ // to the test file.
35+ // EXPLANATION: The tests written within SwiftCompilerSources only get built
36+ // and registered on platforms where the SwiftCompilerSources are
37+ // built and used.
38+ //
39+ //===----------------------------------------------------------------------===//
40+ //
2441// Provides a mechanism for writing tests against compiler code in the context
2542// of a function. The goal is to get the same effect as calling a function and
2643// checking its output.
You can’t perform that action at this time.
0 commit comments