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

Test case for htslib/1620 and htslib/1630 #1938

Merged
merged 3 commits into from
Jul 20, 2023
Merged

Test case for htslib/1620 and htslib/1630 #1938

merged 3 commits into from
Jul 20, 2023

Conversation

pd3
Copy link
Member

@pd3 pd3 commented Jun 5, 2023

daviesrob added a commit to daviesrob/htslib that referenced this pull request Jun 20, 2023
Add some tests to exercise the --regions / --targets synced reader
options.  Currently this only includes tests for the chromosomes
with [:-] characters in the name, but it could be expanded easily
to do others.  Test files have been borrowed from pull request
samtools/bcftools#1938.

Move the synced reader no-index tests from test-bcf-sr.pl to
test.pl.  The former isn't a good place for them as it gets
called 10 times, but the no-index test only needs to run once.
It also allows the code running the test to be simplified a bit.

Also fix the exit code on test-bcf-sr.pl failure from -1 to 1.

Co-authored-by: Petr Danecek <pd3@sanger.ac.uk>
daviesrob added a commit to daviesrob/htslib that referenced this pull request Jun 20, 2023
Add some tests to exercise the --regions / --targets synced reader
options.  Currently this only includes tests for the chromosomes
with [:-] characters in the name, but it could be expanded easily
to do others.  Test files have been borrowed from pull request
samtools/bcftools#1938.

Move the synced reader no-index tests from test-bcf-sr.pl to
test.pl.  The former isn't a good place for them as it gets
called 10 times, but the no-index test only needs to run once.
It also allows the code running the test to be simplified a bit.

Also fix the exit code on test-bcf-sr.pl failure from -1 to 1.

Co-authored-by: Petr Danecek <pd3@sanger.ac.uk>
jkbonfield pushed a commit to samtools/htslib that referenced this pull request Jun 27, 2023
Add some tests to exercise the --regions / --targets synced reader
options.  Currently this only includes tests for the chromosomes
with [:-] characters in the name, but it could be expanded easily
to do others.  Test files have been borrowed from pull request
samtools/bcftools#1938.

Move the synced reader no-index tests from test-bcf-sr.pl to
test.pl.  The former isn't a good place for them as it gets
called 10 times, but the no-index test only needs to run once.
It also allows the code running the test to be simplified a bit.

Also fix the exit code on test-bcf-sr.pl failure from -1 to 1.

Co-authored-by: Petr Danecek <pd3@sanger.ac.uk>
@pd3 pd3 merged commit acea5b7 into develop Jul 20, 2023
@pd3 pd3 deleted the htslib-1620 branch July 20, 2023 12:41
vasudeva8 pushed a commit to vasudeva8/htslib that referenced this pull request Aug 17, 2023
Add some tests to exercise the --regions / --targets synced reader
options.  Currently this only includes tests for the chromosomes
with [:-] characters in the name, but it could be expanded easily
to do others.  Test files have been borrowed from pull request
samtools/bcftools#1938.

Move the synced reader no-index tests from test-bcf-sr.pl to
test.pl.  The former isn't a good place for them as it gets
called 10 times, but the no-index test only needs to run once.
It also allows the code running the test to be simplified a bit.

Also fix the exit code on test-bcf-sr.pl failure from -1 to 1.

Co-authored-by: Petr Danecek <pd3@sanger.ac.uk>
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