diff options
author | Olivier Hainque <hainque@adacore.com> | 2019-09-20 12:17:20 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@gcc.gnu.org> | 2019-09-20 12:17:20 +0000 |
commit | 264c073993e2887308144fc8e27e2bf4a3bcd353 (patch) | |
tree | ee6317e471a7ebc8a520a0dfe76be5141d6c432c /gcc | |
parent | b049c26955642f80c1c3a84782d20c36b858d7d3 (diff) | |
download | gcc-264c073993e2887308144fc8e27e2bf4a3bcd353.zip gcc-264c073993e2887308144fc8e27e2bf4a3bcd353.tar.gz gcc-264c073993e2887308144fc8e27e2bf4a3bcd353.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gnat.dg/system_info1.adb | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8e1b4be..8868ad1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gnat.dg/system_info1.adb b/gcc/testsuite/gnat.dg/system_info1.adb index 493a18e..e299bc4 100644 --- a/gcc/testsuite/gnat.dg/system_info1.adb +++ b/gcc/testsuite/gnat.dg/system_info1.adb @@ -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;
\ No newline at end of file +end; |