Remove bloat due to test symbols (#5965)

This commit is contained in:
Jack May
2019-09-18 19:54:10 -07:00
committed by GitHub
parent 10565277d6
commit 0d16db2d1b
31 changed files with 207 additions and 19 deletions

View File

@ -23,3 +23,15 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u32 {
SUCCESS
}
#[cfg(test)]
mod test {
use super::*;
// Pulls in the stubs requried for `info!()`
solana_sdk_bpf_test::stubs!();
#[test]
fn test_entrypoint() {
assert_eq!(SUCCESS, entrypoint(std::ptr::null_mut()));
}
}