File: disable-tests-missing-data.patch

package info (click to toggle)
rust-regex-cursor 0.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 896 kB
  • sloc: makefile: 2
file content (24 lines) | stat: -rw-r--r-- 792 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
--- a/src/tests.rs
+++ b/src/tests.rs
@@ -14,4 +14,4 @@
         ($name:expr) => {{
-            const DATA: &[u8] = include_bytes!(concat!("../../regex/testdata/", $name, ".toml"));
-            tests.load_slice($name, DATA)?;
+            //const DATA: &[u8] = include_bytes!(concat!("../../regex/testdata/", $name, ".toml"));
+            //tests.load_slice($name, DATA)?;
         }};
@@ -89,3 +89,3 @@
 /// Tests the default configuration of the meta regex engine.
-#[test]
+//#[test]
 fn default() -> Result<()> {
@@ -117,3 +117,3 @@
 /// Tests the default configuration minus the full DFA.
-#[test]
+//#[test]
 fn no_dfa() -> Result<()> {
@@ -133,3 +133,3 @@
 /// Tests the default configuration minus the full DFA and lazy DFA.
-#[test]
+//#[test]
 fn no_dfa_hybrid() -> Result<()> {