Skip to content

: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

:test_build:
  :use_assembly: TRUE

: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:

  1. The assembly files must be visible to Ceedling by way of :paths and :extension settings for assembly files. Here, assembly files would be equivalent to C code files handled in the same ways.
  2. 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