Skip to content

Commit

Permalink
Workaround test error in coverage build (kcov 339) (#21280)
Browse files Browse the repository at this point in the history
Add a dummy namespace to perturb the ELF header
  • Loading branch information
BetsyMcPhail committed Apr 9, 2024
1 parent fb43970 commit 204fa38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/symbolic/expression/test/formula_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ using std::numeric_limits;
using test::IsMemcpyMovable;

namespace symbolic {
namespace kcov339_avoidance_magic {
namespace {

using std::map;
Expand Down Expand Up @@ -1431,5 +1432,6 @@ TEST_F(SymbolicFormulaTest, EvaluateFormulasIncludingRandomVariables) {
}

} // namespace
} // namespace kcov339_avoidance_magic
} // namespace symbolic
} // namespace drake

0 comments on commit 204fa38

Please sign in to comment.