diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-26 13:41:39 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-26 15:53:15 +0300 |
commit | cd431f3f8bca937d4d0ff5b165e556d719329085 (patch) | |
tree | 3decb5d2e9113498d31e5b683a07e2a6408f2c41 /tests | |
parent | 5a6cad9799be32889c85ebd71c70a03fe4a2a861 (diff) |
Move definitions of commonly used target types to root.build
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ci/buildfile | 7 | ||||
-rw-r--r-- | tests/submit/buildfile | 5 |
2 files changed, 3 insertions, 9 deletions
diff --git a/tests/ci/buildfile b/tests/ci/buildfile index 6ed5d5b..280e364 100644 --- a/tests/ci/buildfile +++ b/tests/ci/buildfile @@ -2,17 +2,14 @@ # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -define common: file -common{*}: extension = testscript - dir = ../../brep/handler/ci/ include $dir commons = data -./: testscript{* -{$commons}} common{$commons} {*/ -test/}{**} \ - $dir/exe{brep-ci-dir} $dir/exe{brep-ci-load} \ +./: testscript{* -{$commons}} common_testscript{$commons} {*/ -test/}{**} \ + $dir/exe{brep-ci-dir} $dir/exe{brep-ci-load} \ doc{README} file{hello.tar.gz} testscript{ci-dir}@./: test = $out_base/$dir/brep-ci-dir diff --git a/tests/submit/buildfile b/tests/submit/buildfile index e4dc657..aaffede 100644 --- a/tests/submit/buildfile +++ b/tests/submit/buildfile @@ -2,16 +2,13 @@ # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -define common: file -common{*}: extension = testscript - dir = ../../brep/handler/submit/ include $dir commons = data -./: testscript{* -{$commons}} common{$commons} {*/ -test/}{**} \ +./: testscript{* -{$commons}} common_testscript{$commons} {*/ -test/}{**} \ $dir/exe{brep-submit-dir} $dir/exe{brep-submit-git} file{hello.tar.gz} \ doc{README} |