tests: include harness shutdown in the shared executable
This commit is contained in:
@@ -33,7 +33,7 @@ async fn shutdown_child() -> anyhow::Result<()> {
|
||||
receiver,
|
||||
concat!(
|
||||
"globalThis.foundationCase = 'shutdown';\n",
|
||||
include_str!("../js/foundation-test-bundle.js")
|
||||
include_str!("../../js/foundation-test-bundle.js")
|
||||
),
|
||||
)
|
||||
.await?;
|
||||
@@ -79,7 +79,7 @@ fn sigterm_cancels_tool_and_resumes() -> anyhow::Result<()> {
|
||||
)?;
|
||||
let spawn = || {
|
||||
Command::new(std::env::current_exe().unwrap())
|
||||
.args(["--exact", "shutdown_child", "--nocapture"])
|
||||
.args(["--exact", "harness_shutdown::shutdown_child", "--nocapture"])
|
||||
.env("SHUTDOWN_WORLD", dir.path())
|
||||
.stdin(Stdio::null())
|
||||
.spawn()
|
||||
@@ -38,6 +38,7 @@ mod goal_questions;
|
||||
mod harness;
|
||||
mod harness_api;
|
||||
mod harness_foundation;
|
||||
mod harness_shutdown;
|
||||
mod hook;
|
||||
mod hook_api;
|
||||
mod hook_git;
|
||||
|
||||
Reference in New Issue
Block a user