isovic / racon

Ultrafast consensus module for raw de novo genome assembly of long uncorrected reads. http://genome.cshlp.org/content/early/2017/01/18/gr.214270.116 Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/racon
MIT License
271 stars 49 forks source link

Test failing with 1.01 #59

Closed ebioman closed 6 years ago

ebioman commented 6 years ago

Hello Is it possible that the tests are not adapted to your new structure in version 1.0.1 compared to 0.5 ? I tried to invoke make test which resulted in the following errors:


+ make test
+ exit 0
Processing files: Vcluster-racon-1.0.1-1.el7.x86_64
error: File not found: /builddir/build/BUILDROOT/Vcluster-racon-1.0.1-1.el7.x86_64/software/SequenceAnalysis/SequenceAlignment/racon/1.0.1/codebase
error: File not found: /builddir/build/BUILDROOT/Vcluster-racon-1.0.1-1.el7.x86_64/software/SequenceAnalysis/SequenceAlignment/racon/1.0.1/scripts
error: File not found: /builddir/build/BUILDROOT/Vcluster-racon-1.0.1-1.el7.x86_64/software/SequenceAnalysis/SequenceAlignment/racon/1.0.1/test-data
error: File not found: /builddir/build/BUILDROOT/Vcluster-racon-1.0.1-1.el7.x86_64/software/SequenceAnalysis/SequenceAlignment/racon/1.0.1/example*.sh
Executing(%doc): /bin/sh -e /software/var/tmp/rpm-tmp.3qt8DK

This indicates still the old directory structure with codebase instead of vendor and scripts which is absent now. Or do you invoke tests differently ?

rvaser commented 6 years ago

Hello, you can build unit tests by adding -Dracon_build_tests=ON into your cmake command and compile it with make. This will create a binary file racon_test in the bin folder. It runs without any parameters and reads sample data stored in test/data.

Best regards, Robert

ebioman commented 6 years ago

Thanks, everything is working fine now. I realized now that the error messages where actually down-stream of the tests.