File: disable-tests-missing-testdata.diff

package info (click to toggle)
rust-rust-decimal 1.39.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,556 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
--- a/tests/decimal_tests.rs
+++ b/tests/decimal_tests.rs
@@ -4369,5 +4369,5 @@
     macro_rules! gen_test {
         ($name:ident, $csv:expr, $method:tt) => {
-            #[test]
+            #[cfg(feature = "with-test-data")]
             fn $name() {
                 let path = std::env::current_dir().unwrap();