blob: c9e73a19085d590b7e60301a2edbc902197fb749 [file] [log] [blame]
# Test case ensuring that we can use options
# in the element overrides.
#
name: test
min-version: 2.0
options:
arch:
type: arch
description: architecture
values: [i686, x86_64]
elements:
autotools:
variables:
(?):
- arch == 'i686':
conf-global: --host=i686-unknown-linux-gnu
- arch == 'x86_64':
conf-global: --host=x86_64-unknown-linux-gnu