File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
SwiftCompilerSources/Sources/SIL Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 28
28
// This is done via the specify_test instruction. Using one or more instances
29
29
// of it in your test case's SIL function, you can specify which test (instance
30
30
// of FunctionTest) should be run and what arguments should be provided to it.
31
+ // For full details of the specify_test instruction's grammar, see SIL.rst.
32
+ //
31
33
// The test grabs the arguments it expects out of the TestArguments instance
32
34
// it is provided. It calls some function or functions. It then prints out
33
35
// interesting results. These results can then be FileCheck'd.
Original file line number Diff line number Diff line change 26
26
// of a function. The goal is to get the same effect as calling a function and
27
27
// checking its output.
28
28
//
29
- // This is done via the specify_test instruction. Using one or more
30
- // instances of it in your test case's SIL function, you can specify which test
31
- // (instance of FunctionTest) should be run and what arguments should be
32
- // provided to it. The test grabs the arguments it expects out of the
33
- // test::Arguments instance it is provided. It calls some function or
34
- // functions. It then prints out interesting results. These results can then
35
- // be FileCheck'd.
29
+ // This is done via the specify_test instruction. Using one or more instances
30
+ // of it in your test case's SIL function, you can specify which test (instance
31
+ // of FunctionTest) should be run and what arguments should be provided to it.
32
+ // For full details of the specify_test instruction's grammar, see SIL.rst.
33
+ //
34
+ // The test grabs the arguments it expects out of the test::Arguments instance
35
+ // it is provided. It calls some function or functions. It then prints out
36
+ // interesting results. These results can then be FileCheck'd.
36
37
//
37
38
// CASE STUDY:
38
39
// Here's an example of how it works:
You can’t perform that action at this time.
0 commit comments