Skip to content

Commit

Permalink
Disable tests for Appveyor for now
Browse files Browse the repository at this point in the history
Problems persist, may be related to
rust-lang/rustup#995
  • Loading branch information
markschl committed Jan 14, 2018
1 parent 05a0db9 commit 182f613
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ install:
test_script:
- if [%APPVEYOR_REPO_TAG%]==[false] (
cargo build --features=exprtk --target %TARGET% &&
cargo test --features=exprtk --target %TARGET% &&
cargo run --features=exprtk --target %TARGET%
)
#cargo test --features=exprtk --target %TARGET%

before_deploy:
- cargo rustc --features=exprtk --target %TARGET% --release --bin seqtool -- -C lto -C panic=abort
Expand Down
8 changes: 4 additions & 4 deletions src/test/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn attrs() {
cmp_stdout!(&[".", "--to-txt", "id,desc,seq"], fa, "seq;a=0\tb=3\tATGC\n");
cmp_stdout!(&[".", "-a", "b={a:a}", "--adelim", ";"], fa, ">seq;a=0;b=0 b=3\nATGC\n");
cmp_stdout!(&[".", "-a", "c={a:b}"], fa, ">seq;a=0 b=3 c=3\nATGC\n");
//cmp_stdout!(&[".", "-a", "c={a:-b}"], fa, ">seq;a=0 c=3\nATGC\n");
cmp_stdout!(&[".", "-a", "c={a:-b}"], fa, ">seq;a=0 c=3\nATGC\n");
}

#[test]
Expand Down Expand Up @@ -213,7 +213,7 @@ fn set() {
fn del() {
let fasta = ">seq;p=0 a=1 b=2\nATGC\n";
cmp_stdout!(&["del", "-d"], fasta, ">seq;p=0\nATGC\n");
//cmp_stdout!(&["del", "--attrs", "a,b"], fasta, ">seq;p=0\nATGC\n");
cmp_stdout!(&["del", "--attrs", "a,b"], fasta, ">seq;p=0\nATGC\n");
cmp_stdout!(&["del", "--adelim", ";", "--attrs", "p"], fasta, ">seq a=1 b=2\nATGC\n");
}

Expand All @@ -233,7 +233,7 @@ fn replace() {
#[test]
fn split_n() {
for size in 1..5 {
let tmp_dir = ::std::env::temp_dir(); // tempdir::TempDir::new("split_test").expect("Could not create temporary directory");
let tmp_dir = ::std::env::temp_dir();
let key = tmp_dir.join("f_{split:chunk}.{default_ext}");

run!(&["split", "-n", &format!("{}", size), "-pk", &key.to_string_lossy()], FASTA)
Expand Down Expand Up @@ -322,5 +322,5 @@ fn filter() {
let fa = ">id\nSEQ\n>id2 a=20\nSEQ\n>id3 a=\nSEQ";
cmp_stdout_expr!(&["filter", "def(a:a) and a:a >= 20", "--to-txt", "id"], fa, "id2\n");
cmp_stdout_expr!(&["filter", "a:a >= 20", "--to-txt", "id"], fa, "id2\n");
//cmp_stdout_expr!(&["filter", ".id like 'id*'", "--to-txt", "id"], fa, "id\nid2\nid3\n");
cmp_stdout_expr!(&["filter", ".id like 'id*'", "--to-txt", "id"], fa, "id\nid2\nid3\n");
}

0 comments on commit 182f613

Please sign in to comment.