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

Created waf command build_extensive_tests for compiling the extensive tests

parent 0e9cfc08
#!/usr/bin/env python
# encoding: utf-8
all_combinations_init_code="""#include <boost/fusion/container/vector.hpp>
all_combinations_init_code = """#include <boost/fusion/container/vector.hpp>
#include <boost/fusion/include/vector.hpp>
#include "limbo/limbo.hpp"
......@@ -203,4 +203,7 @@ def build(bld):
target='test_macros',
uselib='BOOST EIGEN TBB',
use='limbo')
create_all_combinations_test(bld)
def build_extensive_tests(ctx):
create_all_combinations_test(ctx)
......@@ -11,6 +11,7 @@ blddir = 'build'
import glob
import limbo
from waflib.Build import BuildContext
def options(opt):
......@@ -89,8 +90,17 @@ def build(bld):
bld.add_post_fun(waf_unit_test.summary)
def build_extensive_tests(ctx):
ctx.recurse('src/tests')
def shutdown(ctx):
if ctx.options.qsub:
limbo.qsub(ctx.options.qsub)
if ctx.options.oar:
limbo.oar(ctx.options.oar)
class BuildExtensiveTestsContext(BuildContext):
cmd = 'build_extensive_tests'
fun = 'build_extensive_tests'
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