Include all-but-integration crates in default members

Several tests were not running due to being omitted from this list.
reviewable/pr650/r1
Tamir Duberstein 2 years ago
parent de6e925aba
commit 16189e18cb
No known key found for this signature in database

@ -19,6 +19,7 @@ members = [
"bpf/aya-log-ebpf", "bpf/aya-log-ebpf",
"test/integration-ebpf", "test/integration-ebpf",
] ]
resolver = "2" resolver = "2"
default-members = [ default-members = [
@ -26,8 +27,13 @@ default-members = [
"aya-obj", "aya-obj",
"aya-tool", "aya-tool",
"aya-log", "aya-log",
"aya-log-common",
"aya-log-parser",
"xtask",
"aya-bpf-macros", "aya-bpf-macros",
"aya-log-ebpf-macros", "aya-log-ebpf-macros",
"bpf/aya-bpf",
"bpf/aya-bpf-bindings",
] ]
[profile.dev] [profile.dev]

@ -298,8 +298,8 @@ mod test {
#[test] #[test]
fn log_value_length_sufficient() { fn log_value_length_sufficient() {
assert!( assert!(
LOG_BUF_CAPACITY >= LogValueLength::MAX.into(), LOG_BUF_CAPACITY <= LogValueLength::MAX.into(),
"{} < {}", "{} > {}",
LOG_BUF_CAPACITY, LOG_BUF_CAPACITY,
LogValueLength::MAX LogValueLength::MAX
); );

@ -163,8 +163,7 @@ mod test {
Fragment::Parameter(Parameter { Fragment::Parameter(Parameter {
hint: DisplayHint::Ip hint: DisplayHint::Ip
}), }),
Fragment::Literal(" lmao ".into()), Fragment::Literal(" lmao {} {something}".into()),
Fragment::Literal(" {{}} {{something}}".into()),
]) ])
); );
assert!(parse("foo {:}").is_err()); assert!(parse("foo {:}").is_err());

@ -404,8 +404,13 @@ impl SkBuffContext {
/// # Examples /// # Examples
/// ///
/// ```no_run /// ```no_run
/// mod bindings; /// use aya_bpf::programs::SkBuffContext;
/// use bindings::{ethhdr, iphdr, udphdr}; /// # #[allow(non_camel_case_types)]
/// # struct ethhdr {};
/// # #[allow(non_camel_case_types)]
/// # struct iphdr {};
/// # #[allow(non_camel_case_types)]
/// # struct udphdr {};
/// ///
/// const ETH_HLEN: usize = core::mem::size_of::<ethhdr>(); /// const ETH_HLEN: usize = core::mem::size_of::<ethhdr>();
/// const IP_HLEN: usize = core::mem::size_of::<iphdr>(); /// const IP_HLEN: usize = core::mem::size_of::<iphdr>();

@ -161,8 +161,13 @@ impl TcContext {
/// # Examples /// # Examples
/// ///
/// ```no_run /// ```no_run
/// mod bindings; /// use aya_bpf::programs::TcContext;
/// use bindings::{ethhdr, iphdr, udphdr}; /// # #[allow(non_camel_case_types)]
/// # struct ethhdr {};
/// # #[allow(non_camel_case_types)]
/// # struct iphdr {};
/// # #[allow(non_camel_case_types)]
/// # struct udphdr {};
/// ///
/// const ETH_HLEN: usize = core::mem::size_of::<ethhdr>(); /// const ETH_HLEN: usize = core::mem::size_of::<ethhdr>();
/// const IP_HLEN: usize = core::mem::size_of::<iphdr>(); /// const IP_HLEN: usize = core::mem::size_of::<iphdr>();

Loading…
Cancel
Save