:test_build
Configuring a test build
Future configuration reorganization
In future versions of Ceedling, test-related settings presently
organized beneath :project will be renamed and migrated to this section.
Example :test_build YAML
:use_assembly
This option causes Ceedling to enable an assembler tool and collect a list of assembly file sources for use in a test suite build.
The default assembler is the GNU tool as; like all other tools, it
may be overridden in the :tools section.
After enabling this feature, two conditions must be true in order to inject assembly code into the build of a test executable:
- The assembly files must be visible to Ceedling by way of
:pathsand:extensionsettings for assembly files. Here, assembly files would be equivalent to C code files handled in the same ways. - Ceedling must be told into which test executable build to insert a
given assembly file. The easiest way to do so is with the
TEST_SOURCE_FILE()build directive macro.
Default: FALSE