Restrict gnat.dg/system_info1.adb to Linux and Windows hosts

Where it is know to work, still covering the original test intent.

From-SVN: r275999
This commit is contained in:
Olivier Hainque 2019-09-20 12:17:20 +00:00 committed by Olivier Hainque
parent b049c26955
commit 264c073993
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2019-09-20 Olivier Hainque <hainque@adacore.com>
* gnat.dg/system_info1.adb: Restrict to *-*-linux* and *-*-mingw*.
2019-09-20 Eric Botcazou <ebotcazou@adacore.com>
* gcc.dg/pr91269.c: New test.

View File

@ -1,4 +1,9 @@
-- { dg-do run }
-- A basic test initially intended to check that
-- System.Task_Info.Number_Of_Processors yields sensible results on
-- both 32bit and 64bit Windows. Additional configurations where the
-- feature was verified to work can opt-in.
-- { dg-do run { target *-*-mingw* *-*-linux* } }
with System.Multiprocessors;
with System.Task_Info;
@ -20,4 +25,4 @@ begin
if Nprocs /= Integer (Ncpus) then
raise Program_Error;
end if;
end;
end;