We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad7abb2 + 1b75473 commit a71c68bCopy full SHA for a71c68b
reframe/core/schedulers/pbs.py
@@ -205,7 +205,7 @@ def _query_exit_code(self, job):
205
# With PBS Pro we can obtain the exit status of a past job
206
extended_info = osext.run_command(f'qstat -xf {job.jobid}')
207
exit_status_match = re.search(
208
- r'^ *Exit_status *= *(?P<exit_status>\d+)', extended_info.stdout,
+ r'^ *Exit_status *= *(?P<exit_status>-?\d+)', extended_info.stdout,
209
flags=re.MULTILINE,
210
)
211
if exit_status_match:
0 commit comments