Get path to BB binary for testing
()
| 56 | |
| 57 | /// Get path to BB binary for testing |
| 58 | pub fn get_bb_binary_path() -> String { |
| 59 | std::env::var("BB_BINARY_PATH") |
| 60 | .unwrap_or_else(|_| { |
| 61 | // Default path relative to the repository root |
| 62 | // From rust/tests, need to go up two levels to barretenberg/ |
| 63 | "../../cpp/build/bin/bb".to_string() |
| 64 | }) |
| 65 | } |
| 66 | |
| 67 | /// Check if BB binary exists at the expected path |
| 68 | pub fn bb_binary_exists() -> bool { |
no test coverage detected