File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
cscs-checks/microbenchmarks/stream Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff 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 ):
Original file line number Diff line number Diff line change 99#
1010
1111import re
12+ import os
1213from datetime import datetime
1314
1415import 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
You can’t perform that action at this time.
0 commit comments