only run problem testing when test command is entered in CLI

This commit is contained in:
David Ormsbee
2012-04-24 17:31:01 -04:00
committed by Calen Pennington
parent a2c4948cc5
commit 2c6efbfd5d

View File

@@ -38,11 +38,10 @@ def main():
if args.command == 'test':
test_problem(problem)
log_captured_output(problem_stdout,
"captured stdout from {0}".format(problem_file.name))
log_captured_output(problem_stderr,
"captured stderr from {0}".format(problem_file.name))
log_captured_output(problem_stdout,
"captured stdout from {0}".format(problem_file.name))
log_captured_output(problem_stderr,
"captured stderr from {0}".format(problem_file.name))
# Print captured problem prints
problem_file.close()