diff options
author | William Salmon <will.salmon@codethink.co.uk> | 2018-10-10 11:41:05 +0100 |
---|---|---|
committer | Phil Dawson <phildawson.0807@gmail.com> | 2018-10-16 12:39:14 +0000 |
commit | 0d04e1b7db7e7612a2d2ca13652e7c425e519650 (patch) | |
tree | e90c141de1bd8403c53d043861c22912ccd30c3b /tests/integration/project | |
parent | 5e7cc645c69f96b35508113fdd311ce2e8ba9ab2 (diff) | |
download | buildstream-0d04e1b7db7e7612a2d2ca13652e7c425e519650.tar.gz |
Added tests for conf-root variable
For issue #512 in Gitlab.
Diffstat (limited to 'tests/integration/project')
-rw-r--r-- | tests/integration/project/elements/autotools/amhelloconfroot.bst | 15 | ||||
-rw-r--r-- | tests/integration/project/elements/cmake/cmakeconfroothello.bst | 15 |
2 files changed, 30 insertions, 0 deletions
diff --git a/tests/integration/project/elements/autotools/amhelloconfroot.bst b/tests/integration/project/elements/autotools/amhelloconfroot.bst new file mode 100644 index 000000000..28926446b --- /dev/null +++ b/tests/integration/project/elements/autotools/amhelloconfroot.bst @@ -0,0 +1,15 @@ +kind: autotools +description: Autotools test + +depends: +- base.bst + +sources: +- kind: tar + url: project_dir:/files/amhello.tar.gz + ref: 9ba123fa4e660929e9a0aa99f0c487b7eee59c5e7594f3284d015640b90f5590 + directory: SourceFile + +variables: + conf-root: "%{build-root}/SourceFile" + command-subdir: build diff --git a/tests/integration/project/elements/cmake/cmakeconfroothello.bst b/tests/integration/project/elements/cmake/cmakeconfroothello.bst new file mode 100644 index 000000000..cd33dee99 --- /dev/null +++ b/tests/integration/project/elements/cmake/cmakeconfroothello.bst @@ -0,0 +1,15 @@ +kind: cmake +description: Cmake test + +depends: + - base.bst + +sources: + - kind: tar + directory: Source + url: project_dir:/files/cmakehello.tar.gz + ref: 508266f40dbc5875293bd24c4e50a9eb6b88cbacab742033f7b92f8c087b64e5 + +variables: + conf-root: "%{build-root}/Source" + command-subdir: build |