Path:
tests/integration/features/html/incremental_generation/03_when_new_child_generate_parents/test.itest
Lines:
33
Non-empty lines:
26
Non-empty lines covered with requirements:
26 / 26 (100.0%)
Functions:
0
Functions covered by requirements:
0 / 0 (0.0%)
1
#
2
# @relation(SDOC-SRS-2, scope=file)
3
#
4
5
# Create a separate input folder to ensure clear management of the SDoc files.
6
RUN: %mkdir %S/sandbox
7
RUN: %cp %S/parent.sdoc %S/sandbox/
8
9
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-FIRST
10
CHECK-FIRST: Published: Parent doc
11
12
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-SECOND
13
CHECK-SECOND: Skip: Parent doc
14
15
RUN: %cp %S/child.sdoc %S/sandbox/child.sdoc
16
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-THIRD
17
CHECK-THIRD: Published: Child doc
18
CHECK-THIRD: Published: Parent doc
19
20
RUN: %cp %S/grandchild.sdoc %S/sandbox/grandchild.sdoc
21
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-FOURTH
22
CHECK-FOURTH: Skip: Parent doc
23
CHECK-FOURTH: Published: Child doc
24
CHECK-FOURTH: Published: Grandchild doc
25
26
RUN: rm %S/sandbox/grandchild.sdoc
27
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-FIFTH
28
CHECK-FIFTH: Skip: Parent doc
29
CHECK-FIFTH: Published: Child doc
30
31
RUN: rm %S/sandbox/child.sdoc
32
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-SIXTH
33
CHECK-SIXTH: Published: Parent doc