more debugging

This commit is contained in:
gluaxspeed 2021-08-12 02:42:42 -07:00
parent bd0032e98b
commit ab5fcecae2
2 changed files with 4 additions and 2 deletions

View File

@ -163,7 +163,7 @@ jobs:
run: |
SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path) \
MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version) \
cd package && cargo test --all --features ci_skip -- --nocapture
cd package && cargo test --all -- --nocapture
- name: Print sccache stats
run: sccache --show-stats

View File

@ -228,9 +228,11 @@ impl Namespace for CompileNamespace {
if test.name == "import_weird_names_nested" {
println!(
"{:?}",
"{}",
Ast::from_json_file("/tmp/output/initial_ast.json".into())
.unwrap_or_else(|_| Ast::new(Program::new("Error reading initial theorem.".to_string())))
.to_json_string()
.unwrap_or_else(|_| "Error converting ast to string.".to_string()),
);
}