Skip to content

Commit

Permalink
add names to test manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
eerii authored and gdesmott committed Nov 14, 2024
1 parent 0cfb6ee commit 38acdbc
Show file tree
Hide file tree
Showing 21 changed files with 63 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/toml-fallback-names/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-fallback-names"

[package.metadata.system-deps.test_lib]
version = "1.0"
name = "nosuchlib"
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-feature-not-string/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-feature-not-string"

[package.metadata.system-deps]
testlib = { version = "1", feature = 2 }
3 changes: 3 additions & 0 deletions src/tests/toml-feature-versions/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-feature-versions"

[package.metadata.system-deps]
testdata = { version = "4", v5 = { version = "5" }, v6 = { version = "6" }}
3 changes: 3 additions & 0 deletions src/tests/toml-good/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-good"

[package.metadata.system-deps]
testdata = "4"
testlib = { version = "1", feature = "test-feature" }
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-invalid-cfg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-invalid-cfg"

[package.metadata.system-deps.'cfg(badger)']
testanotherlib = { version = "1", optional = true }
3 changes: 3 additions & 0 deletions src/tests/toml-missing-key/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
[package]
name = "toml-missing-key"

no-pkg-config-here = true
3 changes: 3 additions & 0 deletions src/tests/toml-not-table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-not-table"

[package.metadata]
system-deps = "not a table"
3 changes: 3 additions & 0 deletions src/tests/toml-optional/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-optional"

[package.metadata.system-deps]
testlib = { version = "1.0", optional = true, v5 = { version = "5.0", name = "testlib-5.0", optional = false }}
testmore = { version = "2", v3 = { version = "3.0", optional = true }}
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-os-specific/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-os-specific"

[package.metadata.system-deps.'cfg(target_os = "linux")']
testdata = "1"
[package.metadata.system-deps.'cfg(not(target_os = "macos"))']
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-override-name/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-override-name"

[package.metadata.system-deps]
test_lib = { name = "testlib", version = "1.0", v1_2 = { version = "1.2" } }
3 changes: 3 additions & 0 deletions src/tests/toml-rpath/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-rpath"

[package.metadata.system-deps]
testdata = "4"
testlibwithrpath = { version = "1", feature = "test-feature" }
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-static/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-static"

[package.metadata.system-deps]
testdata = "4"
teststaticlib = { version = "1", feature = "test-feature" }
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-two-libs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-two-libs"

[package.metadata.system-deps]
testlib = { version = "1" }
testanotherlib = { version = "1" }
3 changes: 3 additions & 0 deletions src/tests/toml-unexpected-key/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-unexpected-key"

[package.metadata.system-deps]
testlib = { version = "1", color = "blue" }
3 changes: 3 additions & 0 deletions src/tests/toml-version-fallback-names/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-version-fallback-names"

[package.metadata.system-deps.test_lib]
version = "0.1"
name = "nosuchlib"
Expand Down
3 changes: 3 additions & 0 deletions src/tests/toml-version-in-table-not-string/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-version-in-table-not-string"

[package.metadata.system-deps]
testlib = { version = 1 }
3 changes: 3 additions & 0 deletions src/tests/toml-version-missing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-version-missing"

[package.metadata.system-deps]
testlib = { feature = "test-feature" }
3 changes: 3 additions & 0 deletions src/tests/toml-version-names/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-version-names"

[package.metadata.system-deps]
testlib = { version = "1.2", v2 = { version = "2.0", name = "testlib-2.0" }, v3 = { version = "3.0", name = "testlib-3.0" }}
3 changes: 3 additions & 0 deletions src/tests/toml-version-not-string/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[package]
name = "toml-version-not-string"

[package.metadata.system-deps]
testlib = 1
3 changes: 3 additions & 0 deletions src/tests/toml-version-range-unsatisfied/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-version-range-unsatisfied"

[package.metadata.system-deps]
testdata = "4"
testlib = { version = ">= 1, < 1.2", feature = "test-feature" }
3 changes: 3 additions & 0 deletions src/tests/toml-version-range/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[package]
name = "toml-version-range"

[package.metadata.system-deps]
testdata = "4"
testlib = { version = ">= 1, < 2", feature = "test-feature" }

0 comments on commit 38acdbc

Please sign in to comment.