Skip to content

Commit c9796dd

Browse files
author
Konstantinacc
committed
Added control to create report only if test is running in full mode.
If test is not running in full mode, no log is generated so report shouldn't be created.
1 parent 1d41c60 commit c9796dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codebender_testing/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def compile_sketches(self, sketches, iframe=False, project_view=False, logfile=N
713713
return
714714

715715
# Generate a report if requested.
716-
if compile_type != 'target_library' and create_report:
716+
if compile_type != 'target_library' and create_report and self.run_full_compile_tests:
717717
report_creator(compile_type, log_entry, log_file)
718718
print '\nTest duration:', int(toc - tic), 'sec'
719719

0 commit comments

Comments
 (0)