Files
swift-nio/IntegrationTests
Marli Oshlack bc661cbb77 Allow single test to be specified as an argument to run-nio-alloc-counter-tests.sh. (#1214)
* Allow single test to be specified as an argument to run-nio-alloc-counter-tests.sh.

Motivation:

run-nio-alloc-counter-tests.sh currently runs all tests. When writing or
debugging a test, you commonly want to run a single test. At the moment the
common practice is to edit the script to hardcode a test to run, which is
annoying and error-prone.

Modifications:

Add an optional argument to the script to specify the test to run.

Result:

$ ./run-nio-alloc-counter-tests.sh

runs all tests.

$ ./run-nio-alloc-counter-tests.sh test_decode_1000_ws_frames.swift

runs only test_decode_1000_ws_frames.swift.
2019-11-07 11:05:16 +00:00
..
2019-10-16 22:06:55 -07:00