Pierre-Marie de Rodat
14415c9ce6
Testsuite: simplify interface of emit_and_print_errors
...
(no-tn-check)
2017-08-10 15:46:07 +02:00
Pierre-Marie de Rodat
55da17b2d6
Merge CompiledTypeMetaclass and StructMetaclass
...
TN: Q606-051
2017-06-14 13:37:43 +02:00
Pierre-Marie de Rodat
bd9932f18d
Split ASTNode and ASTNodeType
...
TN: Q606-051
2017-06-12 16:09:10 +02:00
Pierre-Marie de Rodat
1fb182d3b8
Split Struct and StructType
...
Struct is now only at the DSL layer, while StructType is the "refined"
internal subclass.
TN: Q606-051
2017-06-08 15:48:17 +02:00
Pierre-Marie de Rodat
c3539db92b
Move TypeRepo.type_dict to CompiledTypeMetaclass...
...
... so that the dict is automatically updated when new compiled types
are created.
TN: Q606-051
2017-06-08 14:03:11 +02:00
Pierre-Marie de Rodat
750f15ed80
Remove the implicit environment mechanism
...
TN: Q529-023
2017-05-31 15:34:20 +02:00
Pierre-Marie de Rodat
1f6b0c82cf
python_support/utils: minor unfreeze refactoring
...
TN: Q529-023
2017-05-31 15:15:19 +02:00
Pierre-Marie de Rodat
d11c8a5d4a
Remove all unicode_literals imports from __future__
...
TN: Q223-029
2017-04-25 14:24:30 +02:00
Pierre-Marie de Rodat
5f95af303c
Python testcases: forward test.py args to libmanage call
...
TN: minor
2017-04-11 12:28:57 +02:00
Pierre-Marie de Rodat
a25ad8a9d7
Testsuite: reset StructMetaclass.entity_info
...
TN: Q411-002
2017-04-11 12:11:41 +02:00
Raphael Amiard
61ce79e239
Q324-005: Always show full error trace in tests
2017-04-10 12:18:22 +02:00
Pierre-Marie de Rodat
a464818342
testsuite/: update __future__ imports
...
TN: Q223-029
2017-02-24 11:15:42 +01:00
Pierre-Marie de Rodat
304d859b50
testsuite: write a "setenv.sh" script for build_and_run Python tests
...
TN: Q216-015
2017-02-16 16:05:26 +01:00
Pierre-Marie de Rodat
f0ab77c91d
testsuite/python_support/utils.py: fix a minor coding style issue
...
TN: Q127-013
2017-02-01 17:00:53 +01:00
Raphael Amiard
6795803b3d
Q127-013: Allow to reset memoized properties
2017-01-31 12:18:45 +01:00
Raphael Amiard
f910f8d569
Minor: remove unused imports
2017-01-16 14:21:19 +01:00
Raphael Amiard
8e677e222e
Q116-024: do not import lexer in test utils
...
This was making it impossible to use another lexer, due to some global
state in the lexer langkit module. TBI.
2017-01-16 13:52:39 +01:00
Pierre-Marie de Rodat
8126a5f0b1
Make it possible to provide extensions in testcases
...
Change-Id: Iee5f7b4e404649174544229654b42bae24d26b93
TN: PC13-017
2016-12-14 10:14:12 +01:00
Raphael Amiard
f032b5fb93
Minor: unfreeze env in reset_langkit
2016-12-07 16:37:42 +01:00
Raphael Amiard
3f6524a7fd
P303-009 - reset_langkit: Correctly reset T TypeRepo
2016-11-16 17:05:32 +01:00
Pierre-Marie de Rodat
2bc95c4908
Remove ASTNode and Struct from holders in StructMetaclass
...
Change-Id: I1b486cb5fe655fda8fce80c942cd3431b07067ac
TN: P622-029
2016-07-07 18:24:54 +02:00
Pierre-Marie de Rodat
229ff60739
StructMetaClass: rename into StructMetaclass (casing)
...
This makes it consistent with CompiledTypeMetaclass. And this is easier
to type!
Change-Id: Ia5d21aa325e1de54ffa653f6ef87dd67f6131d15
TN: P622-029
2016-06-28 16:41:06 +02:00
Raphael Amiard
5d0e7ae96a
P303-009: Modify emit_and_print_errors API
...
Instead of taking the grammar, it now takes a function that creates the
grammar. This allows us to have proper diagnostic handling during the
grammar construction.
Change-Id: Ifbddbda53b24972e5e613b78b72a395bd1a05b2c
2016-05-04 15:21:44 +02:00
Raphael Amiard
67a5a6458c
P429-013: Refactor main rule name selection
...
Change-Id: I0f225cb2ba1e0c46137d66cbf9c3b35c9c17adb7
2016-04-29 15:07:27 +02:00
Pierre-Marie de Rodat
27a2ce9646
Use the testsuite-provided Python interpreter to use gen. libraries
...
Change-Id: I6f293c670867d1d41016555e23f3e59c87516503
TN: P414-008
2016-04-15 17:02:43 +02:00