diff options
Diffstat (limited to 'xsd-tests/morphing/anonymous/unstable/buildfile')
-rw-r--r-- | xsd-tests/morphing/anonymous/unstable/buildfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/xsd-tests/morphing/anonymous/unstable/buildfile b/xsd-tests/morphing/anonymous/unstable/buildfile new file mode 100644 index 0000000..d61d36b --- /dev/null +++ b/xsd-tests/morphing/anonymous/unstable/buildfile @@ -0,0 +1,29 @@ +# file : morphing/anonymous/unstable/buildfile +# license : GNU GPL v2 + exceptions; see accompanying LICENSE file + +fs = includee-1 includee-2 + +./: {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 $out_base \ + $path($<[0]) + }} +} + +# Test that the invalid schema files compilation expectedly fails. +# +./: testscript xsd{** -{$fs}} $xsd + +testscript{*}: +{ + test = $xsd + test.arguments = cxx-tree +} |