ver2.02a
This release introduces a much more rigorous validation of the inputs.txt
file. In particular, we implemented a deserialization routine that uses go's reflection to parse a set of key-value pairs into an arbitrary structure with arbitrarily typed fields. This proved so flexible, in fact, that we are now able to parse durations for tl
option of forms 5s
, 0.1ms
, 12m
, or 1ns
! Old format (without time suffix) still works and assumed to specify seconds.
With the error generation, we also introduce a "compiler-like" error messages. Each error specifies the file, line, error description, and a code snippet where error was found. Not only the test suite option errors are printed this way, but old ones too.
CHANGELOG:
- Added type-checking for the
inputs.txt
. - Added pretty and descriptive error messages.
- Fixed: crashes on very small time limits.
- Added: stdout and stderr are printed (if contain anything) on TL.
- Added: prevent test suite from running, if executable is a directory.