|
1 | 1 | use bytesize::ByteSize;
|
2 |
| -use difftest::config::{OutputType, TestMetadata}; |
| 2 | +use difftest_types::config::{OutputType, TestMetadata}; |
3 | 3 | use serde::{Deserialize, Serialize};
|
| 4 | +use std::process::Stdio; |
4 | 5 | use std::{
|
5 | 6 | collections::{HashMap, HashSet},
|
6 | 7 | fs,
|
@@ -288,6 +289,8 @@ impl Runner {
|
288 | 289 |
|
289 | 290 | let output = cmd
|
290 | 291 | .current_dir(&package.absolute_path)
|
| 292 | + .stdout(Stdio::inherit()) |
| 293 | + .stderr(Stdio::inherit()) |
291 | 294 | .output()
|
292 | 295 | .map_err(|e| RunnerError::Io { source: e })?;
|
293 | 296 | let exit_code = output.status.code().unwrap_or(-1);
|
@@ -651,7 +654,7 @@ pub fn forward_features(cmd: &mut Command) {
|
651 | 654 | #[cfg(test)]
|
652 | 655 | mod tests {
|
653 | 656 | use super::*;
|
654 |
| - use difftest::config::OutputType; |
| 657 | + use difftest_types::config::OutputType; |
655 | 658 | use std::{fs, io::Write, path::Path, path::PathBuf};
|
656 | 659 | use tempfile::{NamedTempFile, tempdir};
|
657 | 660 |
|
@@ -862,8 +865,7 @@ mod tests {
|
862 | 865 | fn test_invalid_metadata_json() {
|
863 | 866 | // Test that invalid JSON in metadata file causes proper error
|
864 | 867 | let metadata_content = "{ invalid json }";
|
865 |
| - let result: Result<difftest::config::TestMetadata, _> = |
866 |
| - serde_json::from_str(metadata_content); |
| 868 | + let result: Result<TestMetadata, _> = serde_json::from_str(metadata_content); |
867 | 869 | assert!(result.is_err());
|
868 | 870 | // Just check that it's an error, don't check the specific message
|
869 | 871 | }
|
|
0 commit comments