Skip to content

Commit

Permalink
Added more debugging info for test bench
Browse files Browse the repository at this point in the history
  • Loading branch information
mapgccv committed Mar 20, 2024
1 parent abdf3f8 commit 87b33e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/end2end/scripts/python/AMPLRunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ def _setSolverInAMPL(self, model):
def _getSolverVersion(self, solver) -> tuple:
"""Returns driver version (e.g. 20240316), version string"""
command = f"shell \"{solver} -v\";"
print(f"Executing {command}")
print(f"\nExecuting {command}")
v=self._ampl.get_output(command)
print(f"\nGotten output: {v}")
driver_version = None
import re
for l in v.splitlines():
Expand Down

0 comments on commit 87b33e9

Please sign in to comment.