Commit a8d3b4f7 authored by Federico Allocati's avatar Federico Allocati
Browse files

Forgot to increment index in compilation. Fixed oar submission

parent e837680e
......@@ -172,6 +172,7 @@ def create_all_combinations_test(bld):
target='/combinations/combinations_' + str(i),
uselib='BOOST EIGEN TBB',
use='limbo')
i = i + 1
def build(bld):
......
......@@ -101,7 +101,7 @@ def submit_extensive_tests(ctx):
for fullname in glob.glob('build/src/tests/combinations/*'):
if os.path.isfile(fullname) and os.access(fullname, os.X_OK):
fpath, fname = os.path.split(fullname)
s = "oarsub -d build/src/tests/combinations/ -l /nodes=1/core=2,walltime=00:15:00 -n " + fname + " -O " + fname + ".stdout.%jobid%.log -E " + fname + ".stderr.%jobid%.log " + fpath + '/' + fname
s = "cd " + fpath + ";oarsub -l /nodes=1/core=2,walltime=00:15:00 -n " + fname + " -O " + fname + ".stdout.%jobid%.log -E " + fname + ".stderr.%jobid%.log ./" + fname
retcode = subprocess.call(s, shell=True, env=None)
print "oarsub returned:" + str(retcode)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment