Commit 2c6efbfd by David Ormsbee Committed by Calen Pennington

only run problem testing when test command is entered in CLI

parent a2c4948c
......@@ -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()
......
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