Skip to content

Commit

Permalink
Generating pdf from templateBIOBJarticle.tex added to the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtusar committed Mar 29, 2016
1 parent 9431b04 commit d43d728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code-postprocessing/bbob_pproc/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def copy_latex_templates():
shutil.copy(join_path(templateFolder, 'templateBBOBarticle.tex'), currentFolder)
shutil.copy(join_path(templateFolder, 'templateBBOBcmp.tex'), currentFolder)
shutil.copy(join_path(templateFolder, 'templateBBOBmany.tex'), currentFolder)
shutil.copy(join_path(templateFolder, 'templateBIOBJarticle.tex'), currentFolder)
shutil.copy(join_path(templateFolder, 'sig-alternate.cls'), currentFolder)

def run_latex_template(filename):
Expand Down Expand Up @@ -171,9 +172,8 @@ def main(args):
print('** subtest 1 finished in ', time.time() - t0, ' seconds')
assert result == 0, 'Test failed: rungeneric on one bi-objective algorithm.'

# Latex templates are not prepared yet for bi-objective case.
# result = run_latex_template("templateBBOBarticle.tex")
# assert not result, 'Test failed: error while generating pdf from templateBBOBarticle.tex.'
result = run_latex_template("templateBIOBJarticle.tex")
assert not result, 'Test failed: error while generating pdf from templateBIOBJarticle.tex.'

if run_all_tests:
t0 = time.time()
Expand Down

0 comments on commit d43d728

Please sign in to comment.