- Nov 13, 2015
-
-
Carsten Gräser authored
Explicitly select unique_ptr or shared_ptr
-
Carsten Gräser authored
With this change one has to explicitly select unique_ptr and shared_ptr. This allows to also use the factory with types having value semantics. The result type could be, e.g. std::function<...> and the implementation types would need to have a proper signature.
-
Carsten Gräser authored
-
Carsten Gräser authored
This does not compile with gcc-4.9 and is probably invalid. This commit also removes the redundant implamentation class *Base.
-
Christian Engwer authored
-
- Nov 09, 2015
-
-
Dominic Kempf authored
Conans ancient compiler has problems since the latest changes to the Dune Exceptions. We switch the dune-common check to a more easy header...
-
- Nov 06, 2015
-
-
Dominic Kempf authored
Implement some new features for dune_add_test * `COMMANDS` was requested by @tkoch on the mailing list * `COMPILE_ONLY` is useful for my latest YaspGrid tests, that check the code with and without deprecated interface features. * `TIMEOUT` sets the timeout for ctest and is need in parallel testing See merge request !1
-
Dominic Kempf authored
-
Dominic Kempf authored
This reverts commit 8bd9ff56. The commit did not apply the correct fix, as MPI_RANKS is not a number but a list of ranks instead. Also, I doubt the existence of ">".
-
Christoph Grüninger authored
ADDTEST_MPI_RANKS is set two lines above if it has been emtpy.
-
- Nov 05, 2015
-
-
Carsten Gräser authored
-
Carsten Gräser authored
This allows to give priorities to otherwise ambiguous overloads. It's main use is to make multiple overloads work, when only some are ruled out via SFINAE. This is e.g. used in the concepts check that I'll move to dune-common soon. The implemention is trivial but makes such applications more readable and idiomatic compared to other approaches where, e.g., null pointers are passed to overloads have T* and void* dummy arguments. Due to it's simplicity a separate header may not be justified, but none of the existing seems to fit.
-
- Nov 04, 2015
-
-
Dominic Kempf authored
It needs to be specified when using MPI_RANKS. IT otherwise defaults to 5 minutes. No test should ever run that long, I guess, but the default keeps automated systems from entirely hanging up.
-
- Nov 02, 2015
-
-
Christoph Grüninger authored
Feature/dune exception derived from std exception I almost missed Christian's last commit. It was poor luck
that I had a look into the commit history before replacing the old remote URL by the new, Gitlab-based one. I manually transferred his commit and saved myself the work of programming what Christian already did. See merge request !2
-
- Nov 01, 2015
-
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
we use all argument types as they are. This requires us to specify any references, const qualifies, etc. explicitly, but it allows us to fully specify the interface.
-
Christian Engwer authored
the documentation already states that not brackets mean default ocnstructor, which might be the better idea. Let's discuss this.
-
Christian Engwer authored
-
Christian Engwer authored
we want to allow for constructor signatures with no, one or multiple parameters. The test now checks these different setups. Further we allow for a default parameter. Currently this is Dune::ParameterTree, but I'm not sure, whether this is a good idea or not.
-
- Oct 31, 2015
-
-
Christoph Grüninger authored
-
Christian Engwer authored
-
Christian Engwer authored
-
-
- Oct 30, 2015
-
-
Dominic Kempf authored
-
Dominic Kempf authored
Set if the given test should only be compiled during `make build_tests`, but not run during `make test`. This is useful if you compile the same executable twice, but with different compile flags, where you want to assue that it compiles with both sets of flags, but you already know they will produce the same result.
-
Dominic Kempf authored
It allows to specify an arbitrary command to be executed when running the test. This may for example be used to wrap a script around a C++ executable.
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
- Oct 26, 2015
-
-
Dominic Kempf authored
Previously, the script that splits the in-module documentation into parts exited with cryptic error messages that gave no hint on where the typo happened. It now prints the offending line.
-
Dominic Kempf authored
In dune-testtools we built a sphinx cmake documentation which is customized quite a bit. With the core functionality being in dune-common, it is hard to maintain it twice. I have therefore added some options to the dune-common doc infrastructure, that are beneficial downstream. You can now: * provide custom rst sources * provide a custom sphinx-build conf file * limit the documentation to the current module, instead of adding all requirements automatically The defaults of all those parameters result in an unchanged behaviour (compared to before this commit).
-
Dominic Kempf authored
-
Dominic Kempf authored
As talked about on the developer meeting, a configure switch should allow to build the tests during make all. You can either set it through your opts file or activate it on a per module level. If not active, you have to run make build_tests && make test to run the test suite.
-
Dominic Kempf authored
We should always use the DUNE_ prefix for our cmake variables, to avoid scoping clashes and to stay consistent. Sorry for not doing this immediately, it was an oversight.
-
Dominic Kempf authored
-
Dominic Kempf authored
This way, the docs get much more readable.
-
Felix Gruber authored
This is a follow-up to commits 7d118c6f and e488a7c1.
-
- Oct 25, 2015
-
-
Christian Engwer authored
-