From 5e7fa4db950f35855cc6e60af8ee61268ec33be6 Mon Sep 17 00:00:00 2001 From: ggarrett13 Date: Sat, 26 Sep 2020 17:40:11 +0200 Subject: [PATCH] Added flag for (#8) --- CMakeLists.txt | 4 +--- cmake_modules/yolo/YOLOProjectAddTestCase.cmake | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66b2491f99..d8f39e2c0e 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -275,9 +275,7 @@ if (UNIX OR (WIN32 AND CLANG)) endif () # CSpice dependency -#find_package(CSpice REQUIRED 1.0.0) -set(CSpice_LIBRARIES "C:\\Users\\Geoffrey\\Desktop\\cspice\\cspice\\lib\\cspice.lib") -set(CSpice_INCLUDE_DIRS "C:\\Users\\Geoffrey\\Desktop\\cspice\\cspice\\include\\spice") +find_package(CSpice REQUIRED 1.0.0) # Sofa dependency if in build settings. if (TUDAT_BUILD_WITH_SOFA_INTERFACE) diff --git a/cmake_modules/yolo/YOLOProjectAddTestCase.cmake b/cmake_modules/yolo/YOLOProjectAddTestCase.cmake index 56890418d7..266ffd21bb 100644 --- a/cmake_modules/yolo/YOLOProjectAddTestCase.cmake +++ b/cmake_modules/yolo/YOLOProjectAddTestCase.cmake @@ -2,6 +2,7 @@ include(CMakeParseArguments) # TODO: remove this: all tests shoulld be run, if some are omitted, a warning/error should at least be printed if (TUDAT_SKIP_JSON_TESTS) + # https://github.com/tudat-team/tudat/issues/8 set(TEST_TO_BE_SKIPPED test_json_Acceleration test_json_Aerodynamics @@ -24,6 +25,20 @@ else () ) endif () +if (TUDAT_SKIP_BROKEN_MSVC_CLANG_PRECISION_TESTS) + # https://github.com/tudat-team/tudat/issues/7 + set(TEST_TO_BE_SKIPPED ${TEST_TO_BE_SKIPPED} + test_basic_astro_OrbitalElementConversions + test_basic_astro_TimeConversions + test_basic_astro_SphericalOrbitStateConversions + test_shape_based_HodographicShaping + test_orbit_determination_EstimationInput + test_orbit_determination_HybridArcStateEstimation + test_propagators_VariationalEquations + test_basics_TimeTypes + test_io_MultiArrayReader) +endif () + function("TUDAT_ADD_TEST_CASE" arg1) # arg1 : Test name. Will add source file ${CMAKE_CURRENT_SOURCE_DIR}/tests/unitTest${arg1}.cpp