IAP GITLAB

Skip to content
Snippets Groups Projects
Commit f9299a8f authored by Ralf M Ulrich's avatar Ralf M Ulrich
Browse files

cmake

parent 2e0fe999
No related branches found
No related tags found
No related merge requests found
...@@ -39,9 +39,6 @@ install ( ...@@ -39,9 +39,6 @@ install (
PUBLIC_HEADER DESTINATION include/corsika_data PUBLIC_HEADER DESTINATION include/corsika_data
) )
#add_executable (readLZMA source/read.cc)
#target_link_libraries (readLZMA CorsikaData)
# add unit test, if run inside CORSIKA # add unit test, if run inside CORSIKA
if (COMMAND CORSIKA_ADD_TEST) if (COMMAND CORSIKA_ADD_TEST)
CORSIKA_ADD_TEST (testData SOURCES source/testData.cc) CORSIKA_ADD_TEST (testData SOURCES source/testData.cc)
......
...@@ -156,7 +156,7 @@ TEST_CASE ("Data", "[data]") { ...@@ -156,7 +156,7 @@ TEST_CASE ("Data", "[data]") {
double a[1]; double a[1];
const int length = 1; const int length = 1;
CHECK_THROWS( cordatafillarray_(a, length) ); CHECK_THROWS( cordatafillarray_(a, length) );
REQUIRE_THROWS( cordataclosefile_() ); CHECK_THROWS( cordataclosefile_() );
double d = 0; double d = 0;
CHECK_THROWS( d = cordatanextnumber_() ); CHECK_THROWS( d = cordatanextnumber_() );
char* str = ""; char* str = "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment