mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-15 20:38:23 +01:00
rename header containing file paths for tests
This commit is contained in:
parent
d6c4be6ea3
commit
358aa51836
@ -8,7 +8,7 @@ target_include_directories(testPOET PRIVATE "${PROJECT_SOURCE_DIR}/src")
|
||||
|
||||
get_filename_component(TEST_RInsideSourceFile "RInsidePOET_funcs.R" REALPATH)
|
||||
get_filename_component(TEST_SampleInputScript "${PROJECT_SOURCE_DIR}/test/advection/dolo_adv.R" REALPATH)
|
||||
configure_file(testDataStructures.hpp.in testDataStructures.hpp)
|
||||
configure_file(testInputFiles.hpp.in InputFiles.hpp)
|
||||
target_include_directories(testPOET PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
|
||||
|
||||
add_custom_target(check
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
#include "testDataStructures.hpp"
|
||||
|
||||
#include <cstddef>
|
||||
#include <poet/AdvectionModule.hpp>
|
||||
#include <string>
|
||||
|
||||
#include "InputFiles.hpp"
|
||||
|
||||
using namespace poet;
|
||||
|
||||
constexpr std::size_t MAX_ITER = 10;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#ifndef TESTRINSIDEPOET_H_
|
||||
#define TESTRINSIDEPOET_H_
|
||||
#ifndef TESTINPUTFILES_H_
|
||||
#define TESTINPUTFILES_H_
|
||||
|
||||
inline const char *RInside_source_file = "@TEST_RInsideSourceFile@";
|
||||
inline const char *SampleInputScript = "@TEST_SampleInputScript@";
|
||||
|
||||
#endif // TESTRINSIDEPOET_H_
|
||||
#endif // TESTINPUTFILES_H_
|
||||
Loading…
x
Reference in New Issue
Block a user