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