Commit 5524e0bd by Ben Patterson Committed by benrobot

Add quality report capability.

parent a90ba504
current_path=`pwd`
reports_path=$current_path/reports
dest_path=$HOME/results/$TDDIUM_SESSION_ID/session/
echo "Getting Quality Reports... "
pep8_rpt=$reports_path/diff_quality/diff_quality_pep8.html
pylint_rpt=$reports_path/diff_quality/diff_quality_pylint.html
cp -f $pep8_rpt $dest_path
cp -f $pylint_rpt $dest_path
echo "Reports can be found in "$dest_path
......@@ -44,4 +44,4 @@ for (path, dirs, files) in os.walk('test_root/log'):
print 'destination:', destpath
shutil.copyfile(filepath, destpath)
print 'TDDIUM_SESSION_ID:', os.environ['TDDIUM_SESSION_ID']
\ No newline at end of file
print 'TDDIUM_SESSION_ID:', os.environ['TDDIUM_SESSION_ID']
......@@ -30,7 +30,7 @@ tddium:
:test_pattern: 'none'
:tests:
- :type: custom
:command: paver run_quality
:command: paver run_quality && bash ./scripts/post_quality_build.sh
:invocation: single
:output: exit-status
:report_files:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment