Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_syntax/tests/main.rs

671 bytes, 5 runs

created by r1870400018:1061, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1mod core;
2mod msg;
3
4use oxedyne_fe2o3_core::prelude::*;
5
6#[test]
7fn main() -> Outcome<()> {
8
9 // Separate the tests out to a run_tests function so that we can funnel any outcome, be it an
10 // error or ok, back into this function before closing out with a single call to log_finish_wait! to
11 // allow logger thread completion. Otherwise, we may not see all the logger output before the
12 // main thread finishes.
13
14 log_set_level!("debug");
15
16 let outcome = run_tests();
17
18 log_finish_wait!();
19
20 outcome
21}
22
23fn run_tests() -> Outcome<()> {
24
25 let filter = "all";
26
27 res!(core::test_core(filter));
28 res!(msg::test_msg(filter));
29
30 Ok(())
31}