Hi Zachary,

Are you adding a test to deal.II itself? If so all tests are compiled with the 
macro SOURCE_DIR defined as the absolute path to the test's source directory. 
This is how we load grids in, e.g., tests/grid/grid_in.cc.

If you are adding tests using our test framework but not deal.II: I am pretty 
sure that this macro is defined in the same way.

Best,
David
________________________________
From: dealii@googlegroups.com <dealii@googlegroups.com> on behalf of Zachary 
42! <zacharyloui...@gmail.com>
Sent: Wednesday, November 4, 2020 6:38 PM
To: dealii@googlegroups.com <dealii@googlegroups.com>
Subject: [deal.II] Running new tests with argument

Hi folks,

I am trying to add a new test that requires reading in a file so I’m passing it 
in as an argument.  I am not sure how to use CTest and the other test setup in 
deal.II to pass in a file as an argument.

Cheers,

Zachary

--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/F4D11B95-0211-40DD-A97C-326B6A358261%40gmail.com.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/BN6PR03MB3345FEEE06EDB1D15F90A344EDEE0%40BN6PR03MB3345.namprd03.prod.outlook.com.

Reply via email to