mirror of
https://github.com/AdaCore/spawn.git
synced 2026-02-12 13:09:41 -08:00
On Windows we have an issue when not all data is loaded from the output pipe when a process terminates. For eng/ide/gnatstudio#482
34 lines
686 B
Plaintext
34 lines
686 B
Plaintext
--
|
|
-- Copyright (C) 2018-2023, AdaCore
|
|
--
|
|
-- SPDX-License-Identifier: Apache-2.0
|
|
--
|
|
|
|
with "spawn";
|
|
|
|
project Spawn_Tests is
|
|
|
|
Main :=
|
|
("spawn_test.adb", "spawn_unexpected.adb", "spawn_stty.adb",
|
|
"wait_all.adb", "spawn_bad_exe.adb", "check_cmd", "check_die");
|
|
|
|
case Spawn.OS_API is
|
|
when "unix" | "osx" =>
|
|
Main := Main & ("spawn_kill.adb");
|
|
|
|
when "Windows_NT" =>
|
|
null;
|
|
end case;
|
|
|
|
for Source_Dirs use ("../../testsuite/spawn");
|
|
for Object_Dir use "../../.obj/spawn_test";
|
|
for Main use Main;
|
|
|
|
package Compiler renames Spawn.Compiler;
|
|
|
|
package Binder is
|
|
for Switches ("ada") use ("-E");
|
|
end Binder;
|
|
|
|
end Spawn_Tests;
|