diff --git a/test/api/valik/split/write_seg_sequences_test.cpp b/test/api/valik/split/write_seg_sequences_test.cpp index 8a7e9e68..dc581961 100644 --- a/test/api/valik/split/write_seg_sequences_test.cpp +++ b/test/api/valik/split/write_seg_sequences_test.cpp @@ -35,7 +35,7 @@ static void const test_reference_out(size_t overlap, size_t bins) { std::string path_prefix = "write_out_" + std::to_string(overlap) + "_" + std::to_string(bins); - valik::metadata meta(data_path(path_prefix + "_reference_segments.txt")); + valik::metadata meta(data_path(path_prefix + "_reference_metadata.txt")); valik::write_reference_segments(meta, data_path("database.fasta")); for (size_t i = 0; i < bins - 1; i++) @@ -94,7 +94,7 @@ static void const test_query_out(size_t overlap, size_t bins) { std::string path_prefix = "write_out_" + std::to_string(overlap) + "_" + std::to_string(bins); - valik::metadata meta(data_path(path_prefix + "_reference_segments.txt")); + valik::metadata meta(data_path(path_prefix + "_reference_metadata.txt")); valik::write_query_segments(meta, data_path("database.fasta")); using sequence_file_t = seqan3::sequence_file_input>; diff --git a/test/cli/dream_test.cpp b/test/cli/dream_test.cpp index 5151ff33..83543f7d 100644 --- a/test/cli/dream_test.cpp +++ b/test/cli/dream_test.cpp @@ -28,9 +28,9 @@ TEST_P(dream_short_search, short_shared_mem) "--window", std::to_string(window_size), "--kmer 13", "--size 32k", - "--from-segments", "--ref-meta", ref_meta_path, "--output ", index_path); + EXPECT_EQ(build.exit_code, 0); cli_test_result const result = execute_app("valik", "search", "--output search.gff", @@ -75,6 +75,7 @@ TEST_F(dream_short_search, no_matches) "--size 32k", "--ref-meta", data("seg_meta150overlap" + std::to_string(number_of_bins) + "bins.txt"), "--output ", ibf_path(number_of_bins, window_size)); + EXPECT_EQ(build.exit_code, 0); cli_test_result const result = execute_app("valik", "search", "--output search.gff", @@ -117,7 +118,7 @@ TEST_P(dream_split_search, split_shared_mem) "--out", query_meta_path, "--seg-count ", std::to_string(query_seg_count), "--overlap 0"); - + EXPECT_EQ(split_query.exit_code, 0); cli_test_result const build = execute_app("valik", "build", data("ref.fasta"), @@ -126,6 +127,7 @@ TEST_P(dream_split_search, split_shared_mem) "--size 32k", "--ref-meta", ref_meta_path, "--output ", index_path); + EXPECT_EQ(build.exit_code, 0); cli_test_result const search = execute_app("valik", "search", "--output search.gff",