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.
1 parent 6ca5b9c commit 63d2c7cCopy full SHA for 63d2c7c
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