Move over to ABSL logging and flags.
Removes gperftools too since that wants gflags.
Here come the fireworks.
Change-Id: I79cb7bcf60f1047fbfa28bfffc21a0fd692e4b1c
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/init.rs b/aos/init.rs
index 8fdb3d1..27b1046 100644
--- a/aos/init.rs
+++ b/aos/init.rs
@@ -262,14 +262,9 @@
#[test]
fn set_cxx_flag() {
let _guard = MUTEX.lock();
- let app = App::parse_with_cpp_flags_from(&[
- "mytest",
- "--alsologtostderr",
- "true",
- "--myarg",
- "23",
- ]);
+ let app =
+ App::parse_with_cpp_flags_from(&["mytest", "--stderrthreshold", "1", "--myarg", "23"]);
assert_eq!(app.myarg, 23);
- assert_eq!(CxxFlag::get_option("alsologtostderr"), "true");
+ assert_eq!(CxxFlag::get_option("stderrthreshold"), "1");
}
}