On 02/05/2018 09:15 PM, Weixiong Zheng wrote:
I am trying to get unit test work for my project. It works until reaching the
point of reading input data. I tried to specify the directory using getcwd()
though it didn't work with ctest. I noticed there was another user having the
same issue and the resolution was to use SOURCE_DIR directly in *.cc file. It
turns out it was not recognized. Any quick idea how to fix it would be
appreciated. Thanks!
How exactly do you set up your tests? Are you using the deal.II cmake snippets
for a testsuite?
SOURCE_DIR is not something that is supported by default -- it's something you
have to actively make sure you set up.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.