Skip to content

Commit

Permalink
direct_transcript_test: Warn when test is skipped b/c of no SNOPT (Ro…
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI authored Apr 1, 2021
1 parent 6ece6c8 commit ed59c47
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ GTEST_TEST(DirectTranscriptionTest, MultibodyTest) {
// Only solve under SNOPT (IPOPT is unreliable here).
solvers::SnoptSolver snopt_solver;
if (!snopt_solver.is_available()) {
drake::log()->warn("SNOPT is unavaible; this test shall be skipped.");
return;
}

Expand Down

0 comments on commit ed59c47

Please sign in to comment.