Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthias Mayr
limbo
Commits
be87b4ef
Commit
be87b4ef
authored
Oct 23, 2015
by
Federico Allocati
Browse files
Created waf command build_extensive_tests for compiling the extensive tests
parent
0e9cfc08
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/tests/wscript
View file @
be87b4ef
#!/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
)
wscript
View file @
be87b4ef
...
...
@@ -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'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment