Path:
tests/integration/features/html/incremental_generation/20_sdoc_and_source_files_backward/test.itest
Lines:
34
Non-empty lines:
29
Non-empty lines covered with requirements:
29 / 29 (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/strictdoc_config.py %S/sandbox/
8
RUN: %cp %S/child.sdoc %S/sandbox/
9
RUN: %cp %S/grandchild.sdoc %S/sandbox/
10
RUN: %cp %S/parent.sdoc %S/sandbox/
11
12
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-1
13
CHECK-1: Published: Child doc
14
CHECK-1: Published: Grandchild doc
15
CHECK-1: Published: Parent doc
16
17
RUN: %cp %S/src/file_refs_grandchild.py %S/sandbox/
18
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-2
19
CHECK-2: Skip: Child doc
20
CHECK-2: Skip: Parent doc
21
CHECK-2: Published: Grandchild doc
22
CHECK-2: File: file_refs_grandchild.py
23
24
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-3
25
CHECK-3: Skip: Child doc
26
CHECK-3: Skip: Grandchild doc
27
CHECK-3: Skip: Parent doc
28
CHECK-3: Skip: file_refs_grandchild.py
29
30
RUN: rm %S/sandbox/file_refs_grandchild.py
31
RUN: %strictdoc export %S/sandbox --output-dir %T --no-parallelization | filecheck %s --dump-input=fail --check-prefix=CHECK-4
32
CHECK-4: Skip: Child doc
33
CHECK-4: Skip: Parent doc
34
CHECK-4: Published: Grandchild doc