feat: print validator config after successful run
This commit is contained in:
parent
b3c685b593
commit
1dcd1e955d
2 changed files with 2 additions and 4 deletions
|
@ -4,11 +4,8 @@
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
use super::suite::Test;
|
|
||||||
|
|
||||||
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
|
#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)]
|
||||||
pub struct Result {
|
pub struct Result {
|
||||||
pub test: Test,
|
|
||||||
pub success: bool,
|
pub success: bool,
|
||||||
// sent by the app
|
// sent by the app
|
||||||
pub logs: String,
|
pub logs: String,
|
||||||
|
|
|
@ -9,5 +9,6 @@ mod target;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let s = fs::read_to_string("../ftest-control/targets/forgejo/ftest.toml").unwrap();
|
let s = fs::read_to_string("../ftest-control/targets/forgejo/ftest.toml").unwrap();
|
||||||
let _target: target::Target = toml::from_str(&s).unwrap();
|
let target: target::Target = toml::from_str(&s).unwrap();
|
||||||
|
println!("{:#?}", target);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue