Skip to content

Commit

Permalink
fix: move fuzzer and fuzz to parent dir and fix fuzzer runs inside wo…
Browse files Browse the repository at this point in the history
…rkspace
  • Loading branch information
Martin1887 committed Feb 2, 2024
1 parent a917492 commit 9cac975
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ steps:
workingDirectory: pulldown-cmark
displayName: Cargo test without default features
- script: cargo run --release -- --regressions
workingDirectory: pulldown-cmark/fuzzer
workingDirectory: fuzzer
displayName: Test for superlinear time regressions
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pulldown-cmark/fuzz/Cargo.toml → fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rquickjs = { version = "0.3", features = ["parallel"] }
urlencoding = "2.1.2"

[dependencies.pulldown-cmark]
path = ".."
path = "../pulldown-cmark"

# Prevent this from interfering with workspaces
[workspace]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion pulldown-cmark/fuzzer/Cargo.toml → fuzzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"
syn = { version = "0.15", features = ["full"] }
itertools = "0.8"
walkdir = "2.2"
pulldown-cmark = { path = ".." }
pulldown-cmark = { path = "../pulldown-cmark" }
ndarray = "0.12"
ndarray-stats = "0.2"
rand = "0.7"
Expand All @@ -22,3 +22,8 @@ clap = { version = "4.3", features = ["derive"] }

[profile.release]
lto = "fat"

# Prevent this from interfering with workspaces
[workspace]
members = ["."]

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion pulldown-cmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ exclude = [
"/third_party/**/*",
"/tools/**/*",
"/specs/**/*",
"/fuzzer/**/*",
"/azure-pipelines.yml",
]

Expand Down

0 comments on commit 9cac975

Please sign in to comment.