Commit graph

12 commits

Author SHA1 Message Date
Kevin Eady
92d7cc6237 Updates after rebase
- Update formatter for classes support
- Update expected error message in escript test case
2024-10-10 18:06:04 +02:00
Kevin Eady
3ccf701ce9
Format testsuite scripts, pol-core support modules (#713)
* Format escript testsuite

* Manual formatting for escript testsuite
- Add format-off to places where formatter does what it should, but we don't like the results
- Manually change places where formatter outputs weird things _without_ format-off, so next format-all would show changes if not fixed

* Update .err files; add update_err.py helper script

Use the format `:line:col: message` for all .err file checks. This
allows us to change the file names without needing to edit the .err
contents.

Note that `in/inc0{1,2}.err` need have error messages between POSIX and
Windows, so their messages are a bit more "generic" than the other errs.

* Format pol testsuite

* Manual formatting for pol testsuite

* Format pol-core modules

* Manual formatting for pol-core modules

* Additional format pol-core modules

Use FormatterLineWidth=10000 since module functions must be on one line
because of the parse_modules target

* Address Discord comments

- Support multi-line module function declarations in parse_modules

* Format on df07831
2024-10-04 10:29:55 +02:00
Kevin Eady
ae96ecbf77
Remove OGC from EcompileMain, testsuites (#383)
* Remove OGC from escript testsuite

* Remove compiler options

* Remove Facility::Compiler

* Update docs and options in ecompile help usage

* Update core-changes, breaking-changes
2021-03-04 17:39:14 +01:00
Eric Swanson
d8ad58f64f
Update test suite for new compiler (#299)
* Update test suite:
- run test suite with both OG compiler and new compiler
- run compiler parity test against testsuite/escript
2020-09-11 01:38:39 -07:00
Eric Swanson
e42892fe7b Compiler v1 error messages in *.err1 files 2020-08-01 17:20:20 -07:00
Eric Swanson
debcb2baf1 remove extra newline 2020-06-10 23:17:05 -07:00
Eric Swanson
11bb3fc07e Just include a subset of the error 2020-06-10 23:08:39 -07:00
Eric Swanson
5fd0e4a10d Allow tests with error output that includes the current directory. Replace /Users/ericswanson/poldev/polserver/testsuite/escript with {{WORKDIR}}. 2020-06-10 22:55:48 -07:00
Eric Swanson
51129732d1 Make it a compilation error to hit EOF while expecting an expression terminator (usually semicolon). 2020-06-10 22:14:31 -07:00
Gabriele Tozzi
b0799f95be Documentation: minor 2015-12-19 22:28:28 +01:00
Gabriele Tozzi
e085b218f6 Unit tests: full revision, now all run correctly
- Added missing ones
- Reviewed obsoleted ones
- Disabled/deleted unnecessary ones
- Added support for compile error checking
- Added support for run error checking
2015-12-19 05:31:23 +01:00
Gabriele Tozzi
0efeb4d379 Unit Tests: putting some orde rin escript unit tests 2015-12-19 02:31:08 +01:00