Commit Graph

55 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
5d2fdf47cd Make it possible to enable unparsing machinery in testcases
TN: R115-038
2018-01-24 12:55:58 +01:00
Pierre-Marie de Rodat
b48169c525 Add an "error" token to the testsuite reference lexer
TN: R118-015
2018-01-18 16:55:55 +01:00
Pierre-Marie de Rodat
897b5220b9 Testsuite: add a dot token to the example lexer
TN: QC21-013
2017-12-21 12:38:51 +01:00
Pierre-Marie de Rodat
a2766abced Testsuite: add the "=" token to the referenced lexer
TN: QB21-034
2017-11-30 11:49:20 +01:00
Pierre-Marie de Rodat
dd229112be Testsuite: make it possible to enable pretty-printing
(no-tn-check)
2017-11-23 17:23:40 +01:00
Pierre-Marie de Rodat
230c7d5c43 Testsuite: preserve testcase's source dir in build_and_run
TN: QB21-034
2017-11-23 17:23:40 +01:00
Pierre-Marie de Rodat
8f6c63d006 Testsuite: flush stdout/stderr between compilation and main run
TN: QB22-017
2017-11-22 14:48:47 +01:00
Pierre-Marie de Rodat
142df8ba3d Testsuite: add a "def" token to the reference lexer
TN: QB22-017
2017-11-22 14:48:47 +01:00
Pierre-Marie de Rodat
380688e4b4 Testsuite: make it possible to run Ada mains in testcases
TN: QB15-009
2017-11-15 09:50:25 +01:00
Pierre-Marie de Rodat
df25a848fd Testsuite: add missing items in docstrings from Python support code
TN: QB15-009
2017-11-15 09:30:43 +01:00
Pierre-Marie de Rodat
eb7c08e973 Introduce the framework to log properties execution
TN: QA19-056
2017-10-23 17:31:33 +02:00
Pierre-Marie de Rodat
2dbef5adc0 Remove useless CompileTypeMetaclass.types
TN: QA16-034
2017-10-16 18:15:44 -04:00
Pierre-Marie de Rodat
f6cf7d8494 Re-create CompiledType instances for built-in types for each context
This will no longer let any sharing between various compile contexts,
which will simplify clean-up between testcases.

TN: QA16-034
2017-10-16 16:19:08 -04:00
Pierre-Marie de Rodat
deead1b7ce Testsuite: make it possible to build gen. lib without running script
TN: Q816-014
2017-10-13 13:58:11 -04:00
Pierre-Marie de Rodat
2c9ce76f65 reset_langkit: remove only user types from the type dict.
TN: Q920-012
2017-10-04 15:13:47 +02:00
Pierre-Marie de Rodat
0243b73a91 compiled_types.resolve_type: resolve immediately for non-AST nodes
TN: Q920-012
2017-09-29 10:45:17 +02:00
Pierre-Marie de Rodat
b6fbe0c2db testsuite: reset Entity between each code emission
TN: Q920-012
2017-09-27 11:46:07 +02:00
Pierre-Marie de Rodat
c4a1a7f0d0 Add a warning for undocumented public properties
TN: Q920-024
2017-09-20 15:29:11 +02:00
Pierre-Marie de Rodat
cb9b728e74 Enable tests to override the set of enable warnings
TN: Q920-024
2017-09-20 15:27:08 +02:00
Pierre-Marie de Rodat
7122478f32 Remove --library-fields-all-public support in the testsuite
TN: Q920-012
2017-09-20 12:49:11 +02:00
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