I can't find a way how to generate target 'tests' in DOLFIN which is
needed to run C++ unit tests (target 'run_unittests_cpp'):
$ cd <dolfin>
$ mkdir -p $BUILDDIR
$ cd $BUILDDIR
$ cmake -DCMAKE_INSTALL_PREFIX=$INSTALLDIR \
-DDOLFIN_ENABLE_TESTING:BOOL=ON \
-DDOLFIN_ENABLE_UNIT_TESTS:BOOL=ON \
-DDOLFIN_ENABLE_BENCHMARKS:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=Developer \
-DDOLFIN_DEPRECATION_ERROR:BOOL=ON \
..
$ make tests
make: *** No rule to make target 'tests'. Stop.
Strange is that this seems to work on buildbots. Any clues?
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics