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"));
}
|