Fixed raven test. The raven test system needs to be redesigned in order to run multiple different test classes. Cyclic dependencies cannot be resolved the curent build system so a parser needs to be implemented to get the import statements.

This commit is contained in:
2026-01-27 13:39:16 -05:00
committed by Olivia Brooks
parent 6da7586c3e
commit 05390a8f0b
2 changed files with 10 additions and 13 deletions

View File

@@ -186,7 +186,7 @@ fn new(project_name: String) -> anyhow::Result<()> {
}
fn build() -> anyhow::Result<()> {
let mut targets: Vec<PathBuf> = crate::fs::expand_files(PROJECT_ROOT.clone().join(DIR_SRC.as_path()))?
let mut targets: Vec<PathBuf> = crate::fs::expand_files(DIR_SRC.as_path())?
.into_iter()
.filter(|f| {
f.extension()
@@ -266,7 +266,7 @@ fn test(assertions: bool) -> anyhow::Result<(Option<String>, Option<String>)> {
.ram_max(ByteSize::mib(512))
.monitor(true)
.build()
.run(DIR_TEST.as_path())
.run(DIR_TARGET.as_path())
}
fn clean() {