comparison run_test.sh @ 0:bab3a658f74e draft

planemo upload commit 91805bf8e8ce26193ffc4cc2f3dca56ce4addf79
author eschen42
date Tue, 09 May 2017 18:34:35 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bab3a658f74e
1 #!/bin/bash
2
3 # purge old output files
4 if [ -f test_log.txt ]; then rm test_log.txt; fi
5 if [ -f tool_test_output.html ]; then rm tool_test_output.html; fi
6 if [ -f tool_test_output.json ]; then rm tool_test_output.json; fi
7
8 # run test and write new output files, showing progress to command line output
9 planemo conda_install .
10 planemo test --conda_dependency_resolution w4mclassfilter.xml 2>&1 | grep -v -i observer | tee test_log.txt
11
12 # summarize warnings and errors to command line output
13 grep -E "(ERROR)|(WARNING)" test_log.txt | grep -v samtools | grep -v "Dynamic Display Application links" | grep -v "twobit.loc"