aboutsummaryrefslogtreecommitdiff
path: root/tests/search
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-03-14 11:37:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-14 11:37:14 +0200
commit233255f0e14f364841751755958375fe27380ba6 (patch)
tree1571f125ad89f729cbf0c3d7c0b09aba8fe0fc20 /tests/search
parentf262632b20628136369889ebc67a65b252b233af (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/search')
-rw-r--r--tests/search/buildfile5
-rw-r--r--tests/search/dir/testscript3
2 files changed, 1 insertions, 7 deletions
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