blob: 5d8f7fc8a1768bd3cc338e1881b74a3377eaae61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# 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
{{
diag xsd ($<[0]) # @@ TMP
$xsd cxx-tree --std c++11 \
--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 --std c++11
}
|