diff --git a/src/deb/mod.rs b/src/deb/mod.rs index 6e05fee..794b0e7 100644 --- a/src/deb/mod.rs +++ b/src/deb/mod.rs @@ -265,6 +265,7 @@ mod tests { test_build_end_to_end("hello", "noble", None, None, false).await; } + /// This ensures that we can cross-build packages #[tokio::test] #[test_log::test] #[cfg(target_arch = "x86_64")] @@ -273,6 +274,16 @@ mod tests { test_build_end_to_end("hello", "noble", None, Some("riscv64"), true).await; } + /// This ensures that we can build packages from sid, even on older + /// releases. It can sometimes be difficult with mmdebstrap issues + /// for example. + #[tokio::test] + #[test_log::test] + #[serial] + async fn test_deb_hello_debian_sid_end_to_end() { + test_build_end_to_end("hello", "sid", None, None, false).await; + } + /// This is a specific test case for the latest gcc package on Debian /// The GCC package is complex and hard to build, with specific stages /// and system-bound scripts. Building it requires specific things that