Subject: [PATCH 3/3] tests: crate: Add build dependency.

From: Herman Rimm <[email-masked]>
Date: Sun, 26 Jan 2025 21:41:17 +0100

* tests/crate.scm ("crate-recursive-import"): Add rust-leaf-bob-3 to
rust-root-1 cargo-inputs.
(test-root-dependencies): Add leaf-bob 3 build dependency.

Change-Id: I1285fc6b36429f754d54def0b14f821306ba366d
---
 tests/crate.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/crate.scm b/tests/crate.scm
index 2f1c37633c9..d0dc779cd2f 100644
--- a/tests/crate.scm
+++ b/tests/crate.scm
@@ -53,6 +53,7 @@ (define-module (test-crate)
 ;; 	intermediate-b ^1.0.0
 ;; 	leaf-alice     ^0.7
 ;; 	leaf-bob       ^3
+;; 	leaf-bob       3 (build-dependency)
 ;; 	intermediate-c 1 (dev-dependency)
 ;;
 ;; intermediate-a-1.0.40
@@ -224,6 +225,11 @@ (define test-root-dependencies
        \"kind\": \"normal\",
        \"req\": \"^3\"
      },
+     {
+       \"crate_id\": \"leaf-bob\",
+       \"kind\": \"build\",
+       \"req\": \"3\"
+     },
      {
        \"crate_id\": \"intermediate-c\",
        \"kind\": \"dev\",
@@ -932,6 +938,8 @@ (define rust-leaf-bob-3.0.2-yanked
                                  ('unquote rust-intermediate-b-1))
                                 ("rust-leaf-alice"
                                  ('unquote 'rust-leaf-alice-0.7))
+                                ("rust-leaf-bob"
+                                 ('unquote rust-leaf-bob-3))
                                 ("rust-leaf-bob"
                                  ('unquote rust-leaf-bob-3)))
                                #:cargo-development-inputs
-- 
2.47.1