在 2018年2月5日星期一 UTC-8下午8:55:19,Wolfgang Bangerth写道: > > 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! > > I would say I set it up pretty much like the advanced setting following test suites in user projects <https://www.dealii.org/8.5.0/users/testsuite.html#advanced> webpage without actively setting up SOURCE_DIR.
> 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: [email protected] > <javascript:> > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
