diff options
Diffstat (limited to 'tests/define/buildfile')
-rw-r--r-- | tests/define/buildfile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/tests/define/buildfile b/tests/define/buildfile index d3b9fc4..55b9e92 100644 --- a/tests/define/buildfile +++ b/tests/define/buildfile @@ -1,16 +1,14 @@ -#define # expected name -#define foo # expected = -#define foo= # expected name -#define foo=bar # unknown target type +#define # expected name +#define foo # expected : +#define foo: # expected name +#define foo: bar # unknown target type -define foo=file -foo{FOO}: # verify name is foo{FOO} and not file{FOO} with --verbose 6 +define foo: file +foo{FOO}: # verify name is foo{FOO} and not file{FOO} with --verbose 6 -#define foo=dir # already define in this scope +#define foo: dir # already define in this scope -define bar=foo -bar{FOO}: # verify name is foo{FOO} and not bar{FOO} with --verbose 6 -bar{BAR}: # verify name is bar{BAR} +define bar: foo +bar{BAR}: # verify name is bar{FOO} with --verbose 6 -define folder=dir -folder{./}: # verify prints "folder{} is up to date" +./: |