Skip to content

Conversation

@tueda
Copy link
Collaborator

@tueda tueda commented Nov 21, 2025

This PR adds several environment variables for the test suite. Among them, TESTFILEDIR, the absolute path to the directory containing the FORM test file, is required to access cache files for time-consuming comparisons with other tools. (I used TESTFILEDIR in qgraf.frm, but I hadn't opened a PR for it.)

Also includes a bugfix and an update to the README (in check).

Now nterms() bytesize() work with module advertisement, e.g.:

  .sort:Eliminate x;
@coveralls
Copy link

coveralls commented Nov 21, 2025

Coverage Status

coverage: 57.132% (+0.01%) from 57.118%
when pulling 09b8de0 on tueda:pr/feat/enhanced-cherk_rb
into a405343 on form-dev:master.

@tueda tueda force-pushed the pr/feat/enhanced-cherk_rb branch 2 times, most recently from b39d8c2 to 8efec18 Compare November 27, 2025 13:59
@tueda
Copy link
Collaborator Author

tueda commented Nov 27, 2025

I thought TESTFILEDIR was always prepended to FORMPATH, but that wasn't the case. This is now properly implemented.

The environment variables TESTFILE, TESTFILEDIR, TESTCASE and TESTTMPDIR
are now available for use in FORM test cases.

Also, TESTFILEDIR is now correctly prepended to FORMPATH.
Example usage:
  check.rb --fold-markers '*{{{,*}}}'
@tueda tueda force-pushed the pr/feat/enhanced-cherk_rb branch from 8efec18 to 09b8de0 Compare November 28, 2025 05:39
@tueda
Copy link
Collaborator Author

tueda commented Nov 28, 2025

I added a --fold-markers option, which can be used, for example, as --fold-markers '*{{{,*}}}'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants