libhal / SJSU-Dev2

Firmware platform written by San Jose State University for building application for embedded systems
Apache License 2.0
42 stars 63 forks source link

Breakup testing_framework.hpp file #1267

Closed kammce closed 4 years ago

kammce commented 4 years ago

Feature Request

One of the largest contributors to large build times is related to this file. This file includes ALL of the unit test libraries fore ease of use. But including all of the files means that the compiler must parse and evaluate the testing frameworks NxM times where N is the number of test files we have and M is the number of testing frameworks to be evaluated. This results in every test file, no matter how much or how few things it uses, taking a long time to parse.

Detailed Description

The solution would be to force all unit test files to include only what they need at compile time an no more.

kammce commented 4 years ago

Decided to not go this route. This is basically no longer required due to unity builds.