From cd431f3f8bca937d4d0ff5b165e556d719329085 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Aug 2019 13:41:39 +0300 Subject: Move definitions of commonly used target types to root.build --- tests/ci/buildfile | 7 ++----- tests/submit/buildfile | 5 +---- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'tests') 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} -- cgit v1.1