Skip to content

Commit 0ab966c

Browse files
author
Vasileios Karakasis
committed
Merge branch 'bug/RFC3339Formatter' of github.com:victorusu/reframe into bug/RFC3339Formatter
2 parents c3e8ad1 + cf90732 commit 0ab966c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

cscs-checks/microbenchmarks/stream/stream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def prepare_test(self):
125125
try:
126126
self.reference = self.stream_bw_reference[envname]
127127
except KeyError:
128-
pass
128+
self.reference = self.stream_bw_reference['PrgEnv-gnu']
129129

130130
@rfm.run_before('compile')
131131
def cray_linker_workaround(self):

reframe/core/schedulers/torque.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#
1010

1111
import re
12+
import os
1213
from datetime import datetime
1314

1415
import reframe.utility.os_ext as os_ext
@@ -92,4 +93,7 @@ def finished(self, job):
9293
raise JobError('maximum pending time exceeded',
9394
jobid=job.jobid)
9495

95-
return job.state == 'COMPLETED'
96+
stdout = os.path.join(job.workdir, job.stdout)
97+
stderr = os.path.join(job.workdir, job.stderr)
98+
done = os.path.exists(stdout) and os.path.exists(stderr)
99+
return job.state == 'COMPLETED' and done

0 commit comments

Comments
 (0)