Skip to content

Commit

Permalink
Ignore failing package tests
Browse files Browse the repository at this point in the history
commit-id:7ed4d6f2
  • Loading branch information
maciektr committed Nov 7, 2023
1 parent c5f06ad commit ba19206
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scarb/tests/http_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ use scarb_test_support::command::Scarb;
use scarb_test_support::project_builder::{Dep, DepBuilder, ProjectBuilder};
use scarb_test_support::registry::http::HttpRegistry;

// FIXME(#838)
#[test]
#[cfg_attr(target_os = "windows", ignore = "ignored on windows as of #838")]
fn usage() {
let mut registry = HttpRegistry::serve();
registry.publish(|t| {
Expand Down Expand Up @@ -39,7 +41,9 @@ fn usage() {
"#});
}

// FIXME(#838)
#[test]
#[cfg_attr(target_os = "windows", ignore = "ignored on windows as of #838")]
fn not_found() {
let mut registry = HttpRegistry::serve();
registry.publish(|t| {
Expand Down
8 changes: 8 additions & 0 deletions scarb/tests/local_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ use scarb_test_support::fsx::ChildPathEx;
use scarb_test_support::project_builder::{Dep, DepBuilder, ProjectBuilder};
use scarb_test_support::registry::local::LocalRegistry;

// FIXME(#838)
#[test]
#[cfg_attr(target_os = "windows", ignore = "ignored on windows as of #838")]
fn usage() {
let mut registry = LocalRegistry::create();
registry.publish(|t| {
Expand Down Expand Up @@ -39,7 +41,9 @@ fn usage() {
"#});
}

// FIXME(#838)
#[test]
#[cfg_attr(target_os = "windows", ignore = "ignored on windows as of #838")]
fn not_found() {
let mut registry = LocalRegistry::create();
registry.publish(|t| {
Expand Down Expand Up @@ -123,7 +127,9 @@ fn url_pointing_to_file() {
drop(registry_t);
}

// FIXME(#838)
#[test]
#[cfg_attr(target_os = "windows", ignore = "ignored on windows as of #838")]
fn publish() {
let t = TempDir::new().unwrap();
let index = t.child("index");
Expand Down Expand Up @@ -203,7 +209,9 @@ fn publish() {
);
}

// FIXME(#838)
#[test]
#[cfg_attr(target_os = "windows", ignore = "ignored on windows as of #838")]
fn publish_overwrites_existing() {
let index = TempDir::new().unwrap();

Expand Down

0 comments on commit ba19206

Please sign in to comment.