mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Disable doctests for all libraries
We don't use them, and they add a lot of noise to the test output when running all tests in the workspace.
This commit is contained in:
parent
15312d0ac3
commit
05df1dfae9
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/chat_panel.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
client = { path = "../client" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/client.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["gpui/test-support", "rpc/test-support"]
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/clock.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
smallvec = { version = "1.6", features = ["union"] }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/collections.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["seahash"]
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/contacts_panel.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
client = { path = "../client" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/diagnostics.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/editor.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = [
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/file_finder.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
editor = { path = "../editor" }
|
||||
|
@ -6,6 +6,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/fsevent.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1"
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/fuzzy.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
gpui = { path = "../gpui" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/go_to_line.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
text = { path = "../text" }
|
||||
|
@ -6,6 +6,7 @@ version = "0.1.0"
|
||||
|
||||
[lib]
|
||||
path = "src/gpui.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["backtrace", "dhat", "env_logger", "collections/test-support"]
|
||||
|
@ -6,6 +6,7 @@ edition = "2021"
|
||||
[lib]
|
||||
path = "src/gpui_macros.rs"
|
||||
proc-macro = true
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
syn = "1.0"
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/journal.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
editor = { path = "../editor" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/language.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = [
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/lsp.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["async-pipe"]
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/outline.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
editor = { path = "../editor" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/project.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = [
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/project_panel.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
gpui = { path = "../gpui" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/project_symbols.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
editor = { path = "../editor" }
|
||||
|
@ -6,6 +6,7 @@ version = "0.1.0"
|
||||
|
||||
[lib]
|
||||
path = "src/rpc.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["gpui/test-support"]
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/search.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
collections = { path = "../collections" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/snippet.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/sum_tree.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
arrayvec = "0.7.1"
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/text.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["rand"]
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/theme.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
gpui = { path = "../gpui" }
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/theme_selector.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
editor = { path = "../editor" }
|
||||
|
@ -3,6 +3,9 @@ name = "util"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["clock", "rand", "serde_json", "tempdir"]
|
||||
|
||||
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||
|
||||
[lib]
|
||||
path = "src/workspace.rs"
|
||||
doctest = false
|
||||
|
||||
[features]
|
||||
test-support = ["client/test-support", "project/test-support"]
|
||||
|
@ -8,6 +8,7 @@ version = "0.18.1"
|
||||
[lib]
|
||||
name = "zed"
|
||||
path = "src/zed.rs"
|
||||
doctest = false
|
||||
|
||||
[[bin]]
|
||||
name = "Zed"
|
||||
|
Loading…
Reference in New Issue
Block a user