Skip to content

Commit

Permalink
fix: don't run desktop fuzz tests (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonskiser authored Dec 12, 2024
1 parent 804ef27 commit d04fa92
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build-scripts/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def run_clippy(
args.extend(["--target", target])

if Variant.FULL not in variants:
args.extend(["--exclude", DESKTOP_PACKAGE_NAME])
args.extend(["--exclude", DESKTOP_PACKAGE_NAME, "--exclude", DESKTOP_FUZZ_PACKAGE_NAME])

if features:
args.extend(
Expand Down Expand Up @@ -47,13 +47,13 @@ def run_cargo_tests(
):
args = [cargo_cmd_name()]

args.extend(["build", "--tests", "--locked", "--workspace"])
args.extend(["build", "--tests", "--locked", "--workspace", "--exclude", DESKTOP_FUZZ_PACKAGE_NAME])

if target:
args.extend(["--target", target])

if Variant.FULL not in variants:
args.extend(["--exclude", DESKTOP_PACKAGE_NAME, "--exclude", DESKTOP_FUZZ_PACKAGE_NAME])
args.extend(["--exclude", DESKTOP_PACKAGE_NAME])

if features:
args.extend(
Expand All @@ -74,14 +74,16 @@ def run_cargo_tests(
args = [cargo_cmd_name()]

# Run all lib, bin, and integration tests. Required to exclude running doc tests.
args.extend(["test", "--locked", "--workspace", "--lib", "--bins", "--test", "*"])
args.extend(
["test", "--locked", "--workspace", "--lib", "--bins", "--test", "*", "--exclude", DESKTOP_FUZZ_PACKAGE_NAME]
)

if target:
args.extend(["--target", target])

# disable desktop tests for now
if isLinux():
args.extend(["--exclude", DESKTOP_PACKAGE_NAME, "--exclude", DESKTOP_FUZZ_PACKAGE_NAME])
args.extend(["--exclude", DESKTOP_PACKAGE_NAME])

if features:
args.extend(
Expand Down

0 comments on commit d04fa92

Please sign in to comment.