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

make shootout-k-nucleotide.rs pass official test #13206

Merged
merged 1 commit into from
Mar 31, 2014

Conversation

TeXitoi
Copy link
Contributor

@TeXitoi TeXitoi commented Mar 30, 2014

Correct printing (sort, new lines), reading on stdin.

@TeXitoi
Copy link
Contributor Author

TeXitoi commented Mar 30, 2014

Oops, my fault, didn't test on empty input.

Fixed in the branch.

@huonw
Copy link
Member

huonw commented Mar 30, 2014

Maybe these shootout benchmarks should get some #[test]'s so that they don't break in future.

bors added a commit that referenced this pull request Mar 30, 2014
Correct printing (sort, new lines), reading on stdin.
@TeXitoi
Copy link
Contributor Author

TeXitoi commented Mar 30, 2014

@huonw pros: more robust, good rust example, cons: bigger code in the shootout stats. I personally like the idea, I'll try to test thinks in my future shootout PR.

@TeXitoi
Copy link
Contributor Author

TeXitoi commented Mar 30, 2014

As said in #10393, some bench block on android. Looking at the tests, it seems to be because reading on stdin on a normal make check gives an empty stream, but not when runing the test suite on android. I'll add the // ignore-android.

Correct printing (sort, new lines), reading on stdin, s/i32/uint/,
ignore-android because it reads stdin
@TeXitoi
Copy link
Contributor Author

TeXitoi commented Mar 30, 2014

@cmr ignore-android added

bors added a commit that referenced this pull request Mar 31, 2014
…crichton

Correct printing (sort, new lines), reading on stdin.
@bors bors closed this Mar 31, 2014
@bors bors merged commit 7c2abe7 into rust-lang:master Mar 31, 2014
@TeXitoi TeXitoi deleted the fix-shootout-k-nucleotide branch March 31, 2014 08:08
tamird added a commit to tamird/rust that referenced this pull request Apr 22, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 22, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 22, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 22, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 23, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 24, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 25, 2015
tamird added a commit to tamird/rust that referenced this pull request Apr 29, 2015
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.

4 participants