Skip to content
Snippets Groups Projects
Commit 0249db13 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

fix static test discovery

This is achieved including bindings below python/dune/xt/test in the all
target, to be available for test discovery/generation during make test
without the rest of the bindings to be present.
parent 746916c1
No related branches found
No related tags found
1 merge request!20Update bindings
Pipeline #62919 failed
......@@ -10,7 +10,7 @@
# Tobias Leibner (2020)
# ~~~
import dune.xt.grid.types as grid_types
import dune.xt.test.grid_types as grid_types
from dune.xt.codegen import typeid_to_typedef_name as safe_name
# alberta needs manual flag adding in cmake, so we skip it here
......
......@@ -10,7 +10,7 @@
# Tobias Leibner (2020)
# ~~~
import dune.xt.grid.types as grid_types
import dune.xt.test.grid_types as grid_types
from dune.xt.codegen import typeid_to_typedef_name as safe_name
# alberta needs manual flag adding in cmake, so we skip it here
......
......@@ -10,7 +10,7 @@
# Tobias Leibner (2020)
# ~~~
import dune.xt.grid.types as grid_types
import dune.xt.test.grid_types as grid_types
from dune.xt.codegen import typeid_to_typedef_name as safe_name
# alberta needs manual flag adding in cmake, so we skip it here
......
......@@ -30,5 +30,4 @@ dune_pybindxi_add_module(_grid_gridprovider_gmsh EXCLUDE_FROM_ALL gridprovider/g
dune_pybindxi_add_module(_grid_intersection EXCLUDE_FROM_ALL intersection.cc)
dune_pybindxi_add_module(_grid_gridprovider_provider EXCLUDE_FROM_ALL gridprovider/provider.cc)
dune_pybindxi_add_module(_grid_traits EXCLUDE_FROM_ALL traits.cc)
dune_pybindxi_add_module(_grid_types EXCLUDE_FROM_ALL types.cc)
dune_pybindxi_add_module(_grid_walker EXCLUDE_FROM_ALL walker.cc)
......@@ -9,4 +9,5 @@
# Felix Schindler (2020)
# ~~~
dune_pybindxi_add_module(_test_grid_intersection EXCLUDE_FROM_ALL grid_intersection.cc)
dune_pybindxi_add_module(_test_grid_intersection grid_intersection.cc)
dune_pybindxi_add_module(_test_grid_types grid_types.cc)
File moved
......@@ -12,7 +12,7 @@
# ~~~
try:
from dune.xt.grid._types import *
from dune.xt.test._test_grid_types import *
except ImportError as e:
import os
import logging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment