File: disable-tests.patch

package info (click to toggle)
rust-trawldb 0.2.9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 204 kB
  • sloc: makefile: 2
file content (65 lines) | stat: -rw-r--r-- 1,681 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Description: Disble tests dependent of the trawld DBus Interface
Author: Soumya Ranjan Patnaik <soumyaranjan1812@gmail.com>
Last-Update: 2024-11-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: trawldb/tests/integration_tests.rs
===================================================================
--- trawldb.orig/tests/integration_tests.rs
+++ trawldb/tests/integration_tests.rs
@@ -9,6 +9,7 @@ use trawldb::Client;
 use common::*;
 
 #[tokio::test]
+#[ignore]
 async fn filename() {
     let expected = arg_filename_default().await;
     let curr_resources = get_resources_prop().await.unwrap();
@@ -17,6 +18,7 @@ async fn filename() {
 }
 
 #[tokio::test]
+#[ignore]
 async fn merge() {
     let expected = arg_merge().await;
     let curr_resources = get_resources_prop().await.unwrap();
@@ -25,6 +27,7 @@ async fn merge() {
 }
 
 #[tokio::test]
+#[ignore]
 async fn load() {
     let expected = arg_load().await;
     let curr_resources = get_resources_prop().await.unwrap();
@@ -34,6 +37,7 @@ async fn load() {
 }
 
 #[tokio::test]
+#[ignore]
 async fn query() {
     arg_filename_default().await;
     let (q, expected) = arg_query().await;
@@ -44,6 +48,7 @@ async fn query() {
 }
 
 #[tokio::test]
+#[ignore]
 async fn query_all() {
     arg_filename_default().await;
     let expected = query_all_result().await;
@@ -54,6 +59,7 @@ async fn query_all() {
 }
 
 #[tokio::test]
+#[ignore]
 async fn edit() {
     arg_filename_default().await;
     let client = Client::new().await.unwrap();
@@ -67,6 +73,7 @@ async fn edit() {
 }
 
 #[tokio::test]
+#[ignore]
 async fn clear() {
     arg_filename_default().await;
     clear_resources().await;