summaryrefslogtreecommitdiff
path: root/tests/format/junctions/internal-link
diff options
context:
space:
mode:
Diffstat (limited to 'tests/format/junctions/internal-link')
-rw-r--r--tests/format/junctions/internal-link/project.conf2
-rw-r--r--tests/format/junctions/internal-link/subproject.bst4
-rw-r--r--tests/format/junctions/internal-link/subproject/project.conf6
-rw-r--r--tests/format/junctions/internal-link/subproject/subsubproject-link.bst4
-rw-r--r--tests/format/junctions/internal-link/subproject/subsubproject.bst4
-rw-r--r--tests/format/junctions/internal-link/subproject/subsubproject/project.conf2
-rw-r--r--tests/format/junctions/internal-link/subproject/subsubproject/subsub.txt1
-rw-r--r--tests/format/junctions/internal-link/subproject/subsubproject/target.bst4
-rw-r--r--tests/format/junctions/internal-link/subproject/subtarget.bst10
-rw-r--r--tests/format/junctions/internal-link/subsubproject-again.bst4
-rw-r--r--tests/format/junctions/internal-link/subsubproject-again/project.conf2
-rw-r--r--tests/format/junctions/internal-link/subsubproject-again/subsub-again.txt1
-rw-r--r--tests/format/junctions/internal-link/subsubproject-again/target.bst4
-rw-r--r--tests/format/junctions/internal-link/target.bst5
14 files changed, 53 insertions, 0 deletions
diff --git a/tests/format/junctions/internal-link/project.conf b/tests/format/junctions/internal-link/project.conf
new file mode 100644
index 000000000..20636c446
--- /dev/null
+++ b/tests/format/junctions/internal-link/project.conf
@@ -0,0 +1,2 @@
+name: test
+min-version: 2.0
diff --git a/tests/format/junctions/internal-link/subproject.bst b/tests/format/junctions/internal-link/subproject.bst
new file mode 100644
index 000000000..c88189cb0
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject.bst
@@ -0,0 +1,4 @@
+kind: junction
+sources:
+- kind: local
+ path: subproject
diff --git a/tests/format/junctions/internal-link/subproject/project.conf b/tests/format/junctions/internal-link/subproject/project.conf
new file mode 100644
index 000000000..ac5810334
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/project.conf
@@ -0,0 +1,6 @@
+name: subtest
+min-version: 2.0
+
+junctions:
+ internal:
+ - subsubproject-link.bst
diff --git a/tests/format/junctions/internal-link/subproject/subsubproject-link.bst b/tests/format/junctions/internal-link/subproject/subsubproject-link.bst
new file mode 100644
index 000000000..246a5e41c
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/subsubproject-link.bst
@@ -0,0 +1,4 @@
+kind: link
+
+config:
+ target: subsubproject.bst
diff --git a/tests/format/junctions/internal-link/subproject/subsubproject.bst b/tests/format/junctions/internal-link/subproject/subsubproject.bst
new file mode 100644
index 000000000..f535ab0e0
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/subsubproject.bst
@@ -0,0 +1,4 @@
+kind: junction
+sources:
+- kind: local
+ path: subsubproject
diff --git a/tests/format/junctions/internal-link/subproject/subsubproject/project.conf b/tests/format/junctions/internal-link/subproject/subsubproject/project.conf
new file mode 100644
index 000000000..d11bcbb30
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/subsubproject/project.conf
@@ -0,0 +1,2 @@
+name: subsubtest
+min-version: 2.0
diff --git a/tests/format/junctions/internal-link/subproject/subsubproject/subsub.txt b/tests/format/junctions/internal-link/subproject/subsubproject/subsub.txt
new file mode 100644
index 000000000..f73f3093f
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/subsubproject/subsub.txt
@@ -0,0 +1 @@
+file
diff --git a/tests/format/junctions/internal-link/subproject/subsubproject/target.bst b/tests/format/junctions/internal-link/subproject/subsubproject/target.bst
new file mode 100644
index 000000000..afafac601
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/subsubproject/target.bst
@@ -0,0 +1,4 @@
+kind: import
+sources:
+- kind: local
+ path: subsub.txt
diff --git a/tests/format/junctions/internal-link/subproject/subtarget.bst b/tests/format/junctions/internal-link/subproject/subtarget.bst
new file mode 100644
index 000000000..5e6a76bac
--- /dev/null
+++ b/tests/format/junctions/internal-link/subproject/subtarget.bst
@@ -0,0 +1,10 @@
+kind: compose
+
+# Use a build dependency on our internal subsubproject target.
+#
+# There is currently no validation for this but it may be
+# introduced in the future. For correctness of this test,
+# use a build dependency.
+#
+build-depends:
+- subsubproject.bst:target.bst
diff --git a/tests/format/junctions/internal-link/subsubproject-again.bst b/tests/format/junctions/internal-link/subsubproject-again.bst
new file mode 100644
index 000000000..308642704
--- /dev/null
+++ b/tests/format/junctions/internal-link/subsubproject-again.bst
@@ -0,0 +1,4 @@
+kind: junction
+sources:
+- kind: local
+ path: subsubproject-again
diff --git a/tests/format/junctions/internal-link/subsubproject-again/project.conf b/tests/format/junctions/internal-link/subsubproject-again/project.conf
new file mode 100644
index 000000000..d11bcbb30
--- /dev/null
+++ b/tests/format/junctions/internal-link/subsubproject-again/project.conf
@@ -0,0 +1,2 @@
+name: subsubtest
+min-version: 2.0
diff --git a/tests/format/junctions/internal-link/subsubproject-again/subsub-again.txt b/tests/format/junctions/internal-link/subsubproject-again/subsub-again.txt
new file mode 100644
index 000000000..f73f3093f
--- /dev/null
+++ b/tests/format/junctions/internal-link/subsubproject-again/subsub-again.txt
@@ -0,0 +1 @@
+file
diff --git a/tests/format/junctions/internal-link/subsubproject-again/target.bst b/tests/format/junctions/internal-link/subsubproject-again/target.bst
new file mode 100644
index 000000000..1a90211de
--- /dev/null
+++ b/tests/format/junctions/internal-link/subsubproject-again/target.bst
@@ -0,0 +1,4 @@
+kind: import
+sources:
+- kind: local
+ path: subsub-again.txt
diff --git a/tests/format/junctions/internal-link/target.bst b/tests/format/junctions/internal-link/target.bst
new file mode 100644
index 000000000..bc8944592
--- /dev/null
+++ b/tests/format/junctions/internal-link/target.bst
@@ -0,0 +1,5 @@
+kind: stack
+
+depends:
+- subproject.bst:subtarget.bst
+- subsubproject-again.bst:target.bst