diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-14 11:37:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-14 11:37:14 +0200 |
commit | 233255f0e14f364841751755958375fe27380ba6 (patch) | |
tree | 1571f125ad89f729cbf0c3d7c0b09aba8fe0fc20 /tests | |
parent | f262632b20628136369889ebc67a65b252b233af (diff) |
Implement implied buildfile support
In essence, if the buildfile is:
./: */
Then it can be omitted entirely (provided there is at least one subdirectory).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/function/buildfile | 5 | ||||
-rw-r--r-- | tests/search/buildfile | 5 | ||||
-rw-r--r-- | tests/search/dir/testscript | 3 | ||||
-rw-r--r-- | tests/variable/buildfile | 5 |
4 files changed, 1 insertions, 17 deletions
diff --git a/tests/function/buildfile b/tests/function/buildfile deleted file mode 100644 index 8034f2b..0000000 --- a/tests/function/buildfile +++ /dev/null @@ -1,5 +0,0 @@ -# file : tests/function/buildfile -# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -./: builtin/ path/ diff --git a/tests/search/buildfile b/tests/search/buildfile deleted file mode 100644 index a72ca71..0000000 --- a/tests/search/buildfile +++ /dev/null @@ -1,5 +0,0 @@ -# file : tests/search/buildfile -# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -./: dir/ diff --git a/tests/search/dir/testscript b/tests/search/dir/testscript index d580c4f..4cd368b 100644 --- a/tests/search/dir/testscript +++ b/tests/search/dir/testscript @@ -20,8 +20,7 @@ EOI : no-buildfile : $* <'./: foo/' 2>>/EOE != 0 -error: no explicit target for prerequisite ../:dir{foo/} - info: did you forget to include the corresponding buildfile? +error: no explicit target for ../:dir{foo/} EOE : basic diff --git a/tests/variable/buildfile b/tests/variable/buildfile deleted file mode 100644 index 65a0791..0000000 --- a/tests/variable/buildfile +++ /dev/null @@ -1,5 +0,0 @@ -# file : tests/variable/buildfile -# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd -# license : MIT; see accompanying LICENSE file - -./: override/ |