toolchain-smoke

Simple test that checks whether gcc compilation works

What It Tests

  • gcc

  • execute_binary

Preconditions

  • For ostree enabled image, it shall be unlocked via ostree admin unlock --hotfix

Test Parameters

Parameter

Default

Description

STATIC

"false"

Enable -static flag for gcc

SKIP_INSTALL

"False"

skip the install

Test Steps

cd ./automated/linux/toolchain-smoke/
./toolchain-smoke.sh -s ${SKIP_INSTALL} -t ${STATIC}

Refer to toolchain-smoke.yaml for complete test definition and execution details.

Expected Results

  • gcc compile hello.c successfully

  • ./hello could be executed successfully

References