Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

local run UI #663

Merged
33 commits merged into from
Apr 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
48535ee
adding cleanup command
chkeita Mar 8, 2021
a3c57e7
WIP terminal UI
chkeita Mar 10, 2021
4c9579c
using interval to generate tick
chkeita Mar 11, 2021
ce071b3
build fix and formatting
chkeita Mar 11, 2021
b0c4550
adding some colors
chkeita Mar 15, 2021
2a99bc4
eliminating Arc<Mutex>
chkeita Mar 16, 2021
5bb6f5e
adding file count to the UI
chkeita Mar 17, 2021
528ff15
enable scrolling
chkeita Mar 17, 2021
690b755
formatting
chkeita Mar 17, 2021
b36e4dc
Refactoring extracting functions out of the ui loop
chkeita Mar 18, 2021
6210a87
fix keyboard event read issue
chkeita Mar 24, 2021
2675d74
make the ui optional
chkeita Mar 24, 2021
15cae0f
Merge remote-tracking branch 'upstream/main' into chkeita/local_run_ui
chkeita Mar 24, 2021
2b7e177
fix clippy warnings
chkeita Mar 24, 2021
4acfdaf
Merge branch 'main' into chkeita/local_run_ui
chkeita Mar 24, 2021
6212a84
clippy fix
chkeita Mar 24, 2021
ea2940e
Merge branch 'main' into chkeita/local_run_ui
chkeita Mar 25, 2021
c47e77f
Merge remote-tracking branch 'upstream/main' into chkeita/local_run_ui
chkeita Mar 31, 2021
fbeeadd
clippy fix
chkeita Mar 31, 2021
7007703
clippy fix
chkeita Mar 31, 2021
0b69fcf
enabling the ui when tty is detected
chkeita Mar 31, 2021
d2cc31d
rmoving job cleanup from the context
chkeita Mar 31, 2021
bda6f28
formatting
chkeita Mar 31, 2021
ac410bf
Merge branch 'main' into chkeita/local_run_ui
bmc-msft Apr 1, 2021
8caa379
Merge branch 'chkeita/local_run_ui' of https://github.com/chkeita/one…
chkeita Apr 1, 2021
4cedb07
build fix
chkeita Apr 1, 2021
92926c4
Merge branch 'main' into chkeita/local_run_ui
bmc-msft Apr 2, 2021
d10ac02
Merge branch 'main' into chkeita/local_run_ui
bmc-msft Apr 2, 2021
01b2170
address comments
chkeita Apr 3, 2021
71044e4
address comment
chkeita Apr 3, 2021
ccd9e26
removing stray comment
chkeita Apr 6, 2021
5038c5e
Merge remote-tracking branch 'upstream/main' into chkeita/local_run_ui
chkeita Apr 6, 2021
2c269b4
Merge branch 'main' into chkeita/local_run_ui
bmc-msft Apr 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 139 additions & 12 deletions src/agent/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/agent/coverage/examples/block_coverage.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

use std::process::Command;
use std::{path::PathBuf, process::Command, process::Stdio};

use anyhow::Result;
use coverage::code::{CmdFilter, CmdFilterDef};
Expand Down Expand Up @@ -63,7 +63,7 @@ fn main() -> Result<()> {
let filter = opt.load_filter_or_default()?;

let mut cmd = Command::new(&opt.cmd[0]);
cmd.args(&opt.cmd[1..]);
cmd.stdin(Stdio::null()).args(&opt.cmd[1..]);
chkeita marked this conversation as resolved.
Show resolved Hide resolved
chkeita marked this conversation as resolved.
Show resolved Hide resolved

let mut cache = ModuleCache::default();
let mut recorder = Recorder::new(&mut cache, filter);
Expand Down
1 change: 1 addition & 0 deletions src/agent/input-tester/src/appverifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,7 @@ impl AppVerifierController {
);
let child = Command::new(&self.appverif_path)
.args(args)
.stdin(Stdio::null())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
.spawn()
Expand Down
3 changes: 2 additions & 1 deletion src/agent/input-tester/src/crash_detector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{
fs,
io::Write,
path::Path,
process::{Command, Output},
process::{Command, Output, Stdio},
time::{Duration, Instant},
};

Expand Down Expand Up @@ -317,6 +317,7 @@ pub fn test_process<'a>(
let mut command = Command::new(app_path);
command
.args(args)
.stdin(Stdio::null())
.stdout(stdout_writer)
.stderr(stderr_writer);

Expand Down
Loading