Mercurial > repos > eschen42 > w4mclassfilter
view run_test.sh @ 0:bab3a658f74e draft
planemo upload commit 91805bf8e8ce26193ffc4cc2f3dca56ce4addf79
author | eschen42 |
---|---|
date | Tue, 09 May 2017 18:34:35 -0400 |
parents | |
children |
line wrap: on
line source
#!/bin/bash # purge old output files if [ -f test_log.txt ]; then rm test_log.txt; fi if [ -f tool_test_output.html ]; then rm tool_test_output.html; fi if [ -f tool_test_output.json ]; then rm tool_test_output.json; fi # run test and write new output files, showing progress to command line output planemo conda_install . planemo test --conda_dependency_resolution w4mclassfilter.xml 2>&1 | grep -v -i observer | tee test_log.txt # summarize warnings and errors to command line output grep -E "(ERROR)|(WARNING)" test_log.txt | grep -v samtools | grep -v "Dynamic Display Application links" | grep -v "twobit.loc"