aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-26 13:41:39 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-26 15:53:15 +0300
commitcd431f3f8bca937d4d0ff5b165e556d719329085 (patch)
tree3decb5d2e9113498d31e5b683a07e2a6408f2c41 /tests
parent5a6cad9799be32889c85ebd71c70a03fe4a2a861 (diff)
Move definitions of commonly used target types to root.build
Diffstat (limited to 'tests')
-rw-r--r--tests/ci/buildfile7
-rw-r--r--tests/submit/buildfile5
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}