-
Notifications
You must be signed in to change notification settings - Fork 1
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
New test script and fixing of MacOSX problems #4
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greatfireball
force-pushed
the
feature/new-test-script
branch
2 times, most recently
from
May 12, 2016 08:31
9d27f76
to
6ead3e1
Compare
Travis-CI test should run from now on
I am using the new feature to test under different operation systems. Therefore, we should be able to guarantee that the SeqChunker works under Linux and MacOSX
According to https://docs.travis-ci.com/user/customizing-the-build/#Customizing-the-Installation-Step the installation step to resolve dependencies can be avoided. In our project that makes sense due to we have no real perl program running
Due to we are sure about the MacOSX version, I tollerate build failures under osx
I added a litte bash function to avoid redundancy during testing
… the test_fasta function
…nd moved input file definition down to tests
…sed, due to it seems to be broken
Changed the way, the combined output will be generated. So each test will generate its own set of output files. The name of the output files are generated according to: tmp.TESTNUMBER.* So the tests if the correct output was generated can now avoid diff, but use the md5sum of the output instead.
greatfireball
force-pushed
the
feature/new-test-script
branch
from
May 12, 2016 15:04
c536f82
to
28e61f1
Compare
This is expected to fail for the original test script, but should work on the new one
To generate the sums based on the original one, I used the following perl statement: ``` perl -ne ' unless (/tmp/) { print; next } print; foreach my $fact (map {$_*14} (1..3)) { $bla=$_; $bla=~s/(?<=\.)(\d+)(?=\.)/$1+$fact/eg; print $bla; } ' reference.md5 ```
Testing at Travis-CI is now available
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I create a new test.sh which behaves now like a TAP test. Therefore, perl's
prove
might be used to run all tests.Moreover, I fixed the problems with
readlink -f
under MacOSXFixes #1
Fixes #2