Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow single test to be specified as an argument to run-nio-alloc-counter-tests.sh. #1214

Merged
merged 3 commits into from Nov 7, 2019
Merged

Allow single test to be specified as an argument to run-nio-alloc-counter-tests.sh. #1214

merged 3 commits into from Nov 7, 2019

Commits on Nov 6, 2019

  1. Allow single test to be specified as an argument to run-nio-alloc-cou…

    …nter-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.
    Marli Oshlack committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    64acaf9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44c70c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ecdd4f View commit details
    Browse the repository at this point in the history