Files
spawn/gnat/spawn_tests.gpr
2021-05-20 21:17:46 +03:00

47 lines
2.0 KiB
Plaintext

------------------------------------------------------------------------------
-- Language Server Protocol --
-- --
-- Copyright (C) 2018-2021, AdaCore --
-- --
-- This is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
-- ware Foundation; either version 3, or (at your option) any later ver- --
-- sion. This software is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- --
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public --
-- License for more details. You should have received a copy of the GNU --
-- General Public License distributed with this software; see file --
-- COPYING3. If not, go to http://www.gnu.org/licenses for a complete copy --
-- of the license. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
------------------------------------------------------------------------------
with "spawn";
project Spawn_Tests is
Main := ("spawn_test.adb", "spawn_unexpected.adb");
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;