comparison planemo_test.sh @ 0:834843ebe569 draft

"planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/tree/v3.2.2 commit 6150f59723cf8b0d3c0a2e35208078473f0ec5cf"
author frogs
date Thu, 08 Apr 2021 14:30:48 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:834843ebe569
1 #!/bin/sh
2
3 mkdir -p planemo_test
4
5 #######################################################################################################
6 # TEST LA STRUCTURE
7 for i in *.xml
8 do
9 echo $i
10 planemo lint $i > planemo_test/`basename $i |sed 's/\.xml//'`.lint.log 2>&1
11 done
12
13 grep Failed planemo_test/*.lint.log
14
15 #######################################################################################################
16 # VALIDE L'EXECUTION
17 for i in ` ls *.xml | grep -vE 'demultiplexe|preprocess|clustering|remove_chimera'`
18 do
19 echo $i
20 planemo test --no_cleanup $i > planemo_test/`basename $i |sed 's/\.xml//'`.test.log 2>&1
21 done
22
23 grep FAILED planemo_test/*test.log
24
25
26 grep "test(s) executed passed" planemo_test/*test.log
27
28 # planemo_test/preprocess.test.log:All 2 test(s) executed passed.
29
30
31 # remote: warning: File test-data/references/01-prepro-flash.fasta is 95.81 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
32 # remote: error: File test-data/references/02-clustering_fastidious.fasta is 109.85 MB; this exceeds GitHub's file size limit of 100.00 MB
33 # remote: error: File test-data/references/01-prepro-vsearch.fasta is 121.32 MB; this exceeds GitHub's file size limit of 100.00 MB
34 # remote: error: File test-data/references/02-clustering_denoising.fasta is 108.50 MB; this exceeds GitHub's file size limit of 100.00 MB
35 # remote: error: File test-data/references/03-chimera.fasta is 109.85 MB; this exceeds GitHub's file size limit of 100.00 MB
36
37
38 #######################################################################################################
39 # TEST SOUS GALAXY
40
41 #######################################################################################################
42 # SOUMISSION AU TOOLSHED