610 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
f903cb0442 testsuite.py: pass strings only to subprocess environments 2025-11-26 12:34:25 +00:00
Ronan Desplanques
8d8bf13271 Make testsuite compatible with Python 3.12
Issue: eng/shared/anod#553
2024-12-12 11:02:53 +01:00
Vadim Godunko
bc57af2cb7 Update headers of recently modified files. 2023-11-15 08:02:29 +00:00
Vadim Godunko
5289406783 Fix casing of identifiers. 2023-11-15 07:51:22 +00:00
Vadim Godunko
5f1fa64754 Add subprogram's specification. 2023-11-15 07:51:21 +00:00
Viljar Indus
1f20599604 Fix casing errors
Issue: eng/toolchain/gnat#490
2023-11-15 07:51:21 +00:00
Viljar Indus
8ab4a80088 Fix style errors
Issue: eng/toolchain/gnat#490
2023-11-03 14:28:40 +02:00
bortolussi
02a5bd3357 Rename all the test
Use the old naming scheme to allow the automatic analysis of Gaia to run
properly.

eng/toolchain/PolyORB#1
2023-04-21 11:41:27 +02:00
bortolussi
dab66f902a Update the testsuite to use e3-testsuite
Replace all the dependencies to gnatpython by e3-testsuite.

eng/toolchain/PolyORB#1
2023-04-19 16:29:06 +02:00
Vadim Godunko
599bcf4a78 UC16-012 Remove unnecessary with clauses.
(no-precommit-check)

Change-Id: I1fc357086506e5420792aaa1abe31dece477f09e
2021-12-31 01:16:59 +03:00
Joel Brobecker
729b5be5f4 copy testsuite.py as legacy_py2_testsuite.py
The purpose of this allow us to keep the Python-2.x version of
this testsuite while we work on the next version of the testsuite
framework, to be implemented using Python 3.x.

no-precommit-check: The script has style violations that are not worth
fixing, since we'll eventually abandon it.

TN: U922-064
Change-Id: I8cdee8309ecfec770ddaa99e74dc5f720b609795
2021-09-24 16:41:02 +00:00
Vadim Godunko
db95f4e987 T825-011 Reflect changes in random generator API.
Change-Id: I63caa9c766306c8dbe4d34dfcbc851d3fea3154e
2020-09-03 08:04:37 +03:00
Oliver Kellogg
fba4400ec8 Merge remote-tracking branch 'upstream/master' 2018-07-14 01:57:32 +02:00
Oliver Kellogg
93153c2cd3 https://github.com/AdaCore/PolyORB/pull/1
- Move handling of annotation applications from lexer to parser:

compilers/iac/lexer.adb
- In procedure Scan_Token (Fatal : Boolean) case-statement decoding
  Buffer (Token_Location.Scan), reduce handling of '@' to just assign
  T_At to Token, i.e. do not advance the scan location over the
  annotation application.

compilers/iac/parser.adb
- New procedure Skip_Annapp_Scan_Token (T : Token_Type := T_Error) is
  similar to Scan_Token but skips any annotation applications that may
  exist at the scanner's current location.
  The optional parameter T is the expected token type.
  If left at its default (T_Error), no specific token type is expected.
- New procedure Skip_Annapp_Scan_Token (State : in out Location) is
  similar to the above but updates the given scanner state on skipping
  annotation applications.
- New function Skip_Annapp_Next_Token return Token_Type is similar to
  Next_Token but skip any annotation applications that may exist at the
  scanner's current location, advancing the scan location while this is
  the case.
- In function P_Attribute_Declaration replace initial Scan_Token call
  by Skip_Annapp_Scan_Token.
- In function P_Constant_Expression fix comment in loop `while not
  Is_Expression_Completed'.
- In function P_Definition replace initial Scan_Token call by
  Skip_Annapp_Scan_Token (State).
- In function P_Identifier replace call to Scan_Token (T_Identifier) by
  Skip_Annapp_Scan_Token (T_Identifier).
- In function P_Operation_Declaration replace initial calls to
  Scan_Token by calls to Skip_Annapp_Scan_Token (State).
- In function P_Simple_Type_Spec replace initial Next_Token call by
  Skip_Annapp_Next_Token.
- In function P_State_Member replace initial Scan_Token call by
  Skip_Annapp_Scan_Token (State).

testsuite/idls/annapp01/tin.idl
testsuite/idls/annapp01/test.out
testsuite/idls/MANIFEST
- Start testing annotation applications.
2018-06-18 10:22:09 +02:00
Thomas Quinot
034c14a9f1 Switch to Ada 2012 mode for compatibility with GNAT Community 2018 2018-06-14 12:04:05 +02:00
Thomas Quinot
52507b506b Do not add EXE_EXT if already present
Followup on Q109-007 fix for Windows case

Subversion-branch: /trunk/polyorb
Subversion-revision: 253643
2017-01-15 16:29:26 +00:00
Thomas Quinot
dc8bd11ba9 Import config.py from testsuite build directory
Followup on Q109-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 253622
2017-01-13 14:59:26 +00:00
Thomas Quinot
8e9847226a Add file missing from Q109-007 checkin
Subversion-branch: /trunk/polyorb
Subversion-revision: 253598
2017-01-12 15:35:48 +00:00
Thomas Quinot
90e1ea09e0 When testing using an installed version of PolyORB, use PATH to locate
the po_cos_naming server.

Fixes Q109-007 regression introduced by change for PC21-019

Subversion-branch: /trunk/polyorb
Subversion-revision: 253574
2017-01-11 15:45:31 +00:00
Thomas Quinot
c0967fc369 Add work-around for P919-036
Subversion-branch: /trunk/polyorb
Subversion-revision: 251170
2016-09-19 16:27:45 +00:00
Thomas Quinot
b4917672cd Support for testing with an installed version of PolyORB
This allows running the testsuite without having to do a full
PolyORB build in the same work area.

For P118-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 246204
2016-02-10 11:54:48 +00:00
Thomas Quinot
9043b350a8 Remove test.opt as this test is consistently UOK on all platforms
Subversion-branch: /trunk/polyorb
Subversion-revision: 245288
2016-01-13 09:29:15 +00:00
Valentine Reboul
c0edc154e9 [workaround] filter 'gnatmake -P is obsolete' in test outputs
This is only a workaround at testsuite level for 7.3.1 release.
'gnatmake -P' issue should be fixed later on.

for O107-012

Subversion-branch: /trunk/polyorb
Subversion-revision: 235223
2015-01-07 16:22:26 +00:00
Thomas Quinot
a63bd147e0 Mark XFAIL on x86 RHES6 (not failing on x86_64)
N116-030

Subversion-branch: /trunk/polyorb
Subversion-revision: 226101
2014-04-11 16:00:55 +00:00
Bob Duff
b63c10e2bb Minor: Put spaces around binary operators. Needed to avoid new compiler
warnings.
N216-004

Subversion-branch: /trunk/polyorb
Subversion-revision: 223532
2014-02-18 23:12:33 +00:00