small improvements (more output to screen)
This commit is contained in:
parent
c6c9fd71de
commit
20a775e8d1
|
@ -96,9 +96,11 @@ class Marc(Solver):
|
|||
else: cmd += ' -prog ' + user
|
||||
|
||||
print 'job submission with%s compilation: %s'%({False:'out',True:''}[compile],user)
|
||||
|
||||
if logfile:
|
||||
log = open(logfile, 'w')
|
||||
print(cmd)
|
||||
self.p = subprocess.Popen(shlex.split(cmd),stdout = logfile,stderr = subprocess.STDOUT)
|
||||
self.p = subprocess.Popen(shlex.split(cmd),stdout = log,stderr = subprocess.STDOUT)
|
||||
log.close()
|
||||
self.p.wait()
|
||||
|
||||
#--------------------------
|
||||
|
|
|
@ -33,8 +33,18 @@ class Test():
|
|||
elif not self.compare(variant):
|
||||
return variant
|
||||
except:
|
||||
return 1
|
||||
return variant
|
||||
return -1
|
||||
# for variant in variants:
|
||||
# self.prepare(variant)
|
||||
# self.run(variant)
|
||||
# self.postprocess(variant)
|
||||
# if variant in update:
|
||||
# self.update(variant)
|
||||
# elif not self.compare(variant):
|
||||
# return variant
|
||||
# return -1
|
||||
|
||||
|
||||
|
||||
def clean(self):
|
||||
|
|
Loading…
Reference in New Issue