Skip to content

Commit

Permalink
disable only tests that require a display
Browse files Browse the repository at this point in the history
Co-authored-by: zi3m5f <[email protected]>
  • Loading branch information
carlossless and zi3m5f authored Oct 27, 2024
1 parent ddfa597 commit e13ef86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/by-name/pa/packetry/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk_11_0.frameworks.AppKit
];

# Tests need a display to run
doCheck = false;
# Disable test_replay tests as they need a gui
preCheck = ''
sed -i 's:#\[test\]:#[test] #[ignore]:' src/test_replay.rs
'';

nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
Expand Down

0 comments on commit e13ef86

Please sign in to comment.