Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_namex/tests/main.rs

602 bytes, 5 runs

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