Skip to content

Commit

Permalink
Added flag for (Tudat#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreygarrett committed Sep 26, 2020
1 parent 30ac1e7 commit 5e7fa4d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
15 changes: 15 additions & 0 deletions cmake_modules/yolo/YOLOProjectAddTestCase.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5e7fa4d

Please sign in to comment.