Skip to content

Commit

Permalink
update stdout stderror
Browse files Browse the repository at this point in the history
  • Loading branch information
denini08 committed May 19, 2021
1 parent 11402dc commit f61c672
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions shaker/tool_maven.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ def setup(self):
arguments = "--batch-mode --update-snapshots --fail-never --quiet -DskipTests"
command = f"mvn {arguments} clean install"
# print(f"> {command}")
subprocess_run(command, cwd=str(self.directory))
subprocess_run(command, cwd=str(self.directory), stdout=self.output_folder /
"exec_setup.out", stderr=self.output_folder / "exec_setup.err")

def run_tests(self, report_folder):
command = f"mvn --quiet test"
# print(f"> {command}")
subprocess_run(command, cwd=str(self.directory))
subprocess_run(command, cwd=str(self.directory), stdout=self.output_folder /
"exec_stress.out", stderr=self.output_folder / "exec_stress.err")

def post_tests(self, report_folder):
# Copy reports
Expand Down

0 comments on commit f61c672

Please sign in to comment.