File: feature-gaurd-for-upstream-tests

package info (click to toggle)
rust-upstream-ontologist 0.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,964 kB
  • sloc: xml: 186; python: 13; sh: 12; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: upstream-ontologist/src/lib.rs
===================================================================
--- upstream-ontologist.orig/src/lib.rs
+++ upstream-ontologist/src/lib.rs
@@ -46,7 +46,7 @@ pub mod vcs;
 /// Command-line interface for version control operations
 pub mod vcs_command;
 
-#[cfg(test)]
+#[cfg(all(test, feature="setup-cfg", feature="pyo3", feature="debian", feature="python-pkginfo", feature="pyproject-toml", feature="r-description", feature="dist-ini"))]
 mod upstream_tests {
     include!(concat!(env!("OUT_DIR"), "/upstream_tests.rs"));
 }