File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,22 @@ test suite, via ``utils/build-script --validation-test``.
49
49
Using `` utils/build-script `` will rebuild all targets which can add substantial
50
50
time to a debug cycle.
51
51
52
+ #### Using utils/run-test
53
+
54
+ Using ` utils/run-test ` allows the user to run a single test or tests in a specific directory.
55
+ This can significantly speed up the debug cycle. One can use this tool
56
+ instead of invoking ` lit.py ` directly as described in the next section.
57
+
58
+ Here is an example of running the ` test/Parse ` tests:
59
+ ```
60
+ % ${swift_SOURCE_ROOT}/utils/run-test --build-dir ${SWIFT_BUILD_DIR} ${swift_SOURCE_ROOT}/test/Parse
61
+ ```
62
+ Note that one example of a valid ` ${SWIFT_BUILD_DIR} ` is
63
+ ` {swift_SOURCE_ROOT}/../build/Ninja-DebugAssert/swift-linux-x86_64 ` .
64
+ It differs based on your build options and on which directory you invoke the script from.
65
+
66
+ For full help options, pass ` -h ` to ` utils/run-test ` utility.
67
+
52
68
#### Using lit.py
53
69
54
70
Using ` lit.py ` directly can provide more control and faster feedback to your
You can’t perform that action at this time.
0 commit comments