CMakePP / CMakePPLang

Object-oriented extension to the CMake language.
http://cmakepp.github.io/CMakePPLang/
Apache License 2.0
11 stars 4 forks source link

Duplicated test section names #128

Closed AutonomicPerfectionist closed 8 months ago

AutonomicPerfectionist commented 8 months ago

Describe the bug While testing CMakePP/CMakeTest#94, I discovered that the section name test_capitalization and parent_attribute_access in tests/utilities/check_conflicting_types.cmake and tests/docs/source/getting_started/cmakepp_examples/classes/multiple_inheritance_basics.cmake , respectively, were duplicated, such that there were two sections with the same name in the same scope with the same parent section.

I don't believe this caused either section to not run, but it would be best to change their names so as to not confuse anyone looking at the output.

EDIT: It does appear the duplicated tests did not run, the second one overwrote the first in the section map. One of the duplicated tests fails, the one checking attribute defaults in multiple inheritance.