Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Abraham <[email protected]>
  • Loading branch information
jabraham17 committed Dec 6, 2024
1 parent e4ba41e commit eb0aac2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions util/test/chpl_launchcmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ def main():
"""Run the program!"""
job = AbstractJob.init_from_environment()
(stdout, stderr) = job.run()
logging.debug("I am after run {} {} {} {}", stdout, type(stdout), stderr, type(stderr))
sys.stdout.buffer.write(stdout)
sys.stderr.buffer.write(stderr)
logging.debug("I am after buffer writes")


class AbstractJob(object):
Expand Down Expand Up @@ -403,8 +401,6 @@ def job_status(job_id, output_file):

logging.info('The test finished with output of length {0}.'.format(len(output)))

logging.debug('Returning output and error from job.')

return (output, error)

def submit_job(self, testing_dir, output_file, error_file, input_file):
Expand Down Expand Up @@ -1149,7 +1145,7 @@ def _temp_dir(dir_prefix='chapel-test-tmp'):
yield tmp_dir
finally:
logging.debug('Deleting temporary working directory at: {0}'.format(tmp_dir))
# shutil.rmtree(tmp_dir)
shutil.rmtree(tmp_dir)


if __name__ == '__main__':
Expand Down

0 comments on commit eb0aac2

Please sign in to comment.