diff options
Diffstat (limited to 'xsd-tests/schema/list/buildfile')
-rw-r--r-- | xsd-tests/schema/list/buildfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/xsd-tests/schema/list/buildfile b/xsd-tests/schema/list/buildfile new file mode 100644 index 0000000..090e69a --- /dev/null +++ b/xsd-tests/schema/list/buildfile @@ -0,0 +1,29 @@ +# file : schema/list/buildfile +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +fs = test anonymous/test + +./: {hxx cxx}{$fs} + +# Make sure that the schema files are compilable. +# +for f: $fs +{ + <{hxx cxx}{$f}>: xsd{$f} $xsd + {{ + $xsd cxx-tree \ + --root-element-all \ + --output-dir $directory($path($>[0])) \ + $path($<[0]) + }} +} + +# Test that the invalid schema files compilation expectedly fails. +# +./: testscript xsd{** -{$fs}} $xsd + +testscript{*}: +{ + test = $xsd + test.arguments = cxx-tree +} |