Skip to content

Slice the test suite into vector classes. #62

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

Merged
merged 1 commit into from
Aug 4, 2018

Conversation

gnzlbg
Copy link
Contributor

@gnzlbg gnzlbg commented Aug 3, 2018

This commit slices the test suite to reduce cargo test's
memory consumption.

The following cfg flags are available:

  • --cfg test_none: do not include any of the vector tests
    classified by size:
  • --cfg test_v{bit_width}: e.g. --cfg test_v128 - include
    all test of the 128-bit wide vector types

On CI we run the tests for each class sequentially from 16 to 512.

@gnzlbg gnzlbg force-pushed the slice_test_suite branch 2 times, most recently from bd9e794 to 01f78db Compare August 3, 2018 14:17
This commit slices the test suite to reduce `cargo test`'s
memory consumption.

The following cfg flags are available:

* `--cfg test_none`: do not include any of the vector tests
  classified by size:
* `--cfg test_v{bit_width}`: e.g. `--cfg test_v128` - include
  all test of the 128-bit wide vector types

On CI we run the tests for each class sequentially from `16` to `512`.
@gnzlbg gnzlbg force-pushed the slice_test_suite branch from 613eff0 to 15bce57 Compare August 4, 2018 10:23
@gnzlbg gnzlbg merged commit 7cf7fc0 into rust-lang:master Aug 4, 2018
@gnzlbg
Copy link
Contributor Author

gnzlbg commented Aug 4, 2018

This is not perfect, but travis is down, and this significantly helps. Filled #64 to track improving this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant