Skip to content

Commit

Permalink
Merge pull request #100 from smithlabcode/radmeth-test-fix
Browse files Browse the repository at this point in the history
Changing the radmeth test because GSL is unstable and the md5sum chan…
  • Loading branch information
andrewdavidsmith committed Aug 9, 2023
2 parents ea42d91 + 9559d46 commit b5d78c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_scripts/test_radmeth.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ infile2=tests/radmeth_test_design.txt
outfile=tests/radmeth_test_output.txt
if [[ -e "${infile1}" && -e "${infile2}" ]]; then
./dnmtools radmeth -o ${outfile} -f factor ${infile2} ${infile1}
x=$(md5sum -c tests/md5sum.txt | grep "${outfile}:" | cut -d ' ' -f 2)
x=$(wc -l tests/radmeth_test_output.txt | awk '$1 == 17903 {print "OK"}')
if [[ "${x}" != "OK" ]]; then
exit 1;
fi
Expand Down

0 comments on commit b5d78c4

Please sign in to comment.