Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enhance check.rb (TESTFILEDIR and others)#743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
tueda wants to merge4 commits intoform-dev:master
base:master
Choose a base branch
Loading
fromtueda:pr/feat/enhanced-cherk_rb

Conversation

@tueda
Copy link
Collaborator

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 usedTESTFILEDIR inqgraf.frm, but I hadn't opened a PR for it.)

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

Now nterms() bytesize() work with module advertisement, e.g.:  .sort:Eliminate x;
@coveralls
Copy link

coveralls commentedNov 21, 2025
edited
Loading

Coverage Status

coverage: 57.132% (+0.01%) from 57.118%
when pulling09b8de0 on tueda:pr/feat/enhanced-cherk_rb
intoa405343 on form-dev:master.

@tuedatuedaforce-pushed thepr/feat/enhanced-cherk_rb branch 2 times, most recently fromb39d8c2 to8efec18CompareNovember 27, 2025 13:59
@tueda
Copy link
CollaboratorAuthor

I thoughtTESTFILEDIR was always prepended toFORMPATH, but that wasn't the case. This is now properly implemented.

The environment variables TESTFILE, TESTFILEDIR, TESTCASE and TESTTMPDIRare now available for use in FORM test cases.Also, TESTFILEDIR is now correctly prepended to FORMPATH.
Example usage:  check.rb --fold-markers '*{{{,*}}}'
@tuedatuedaforce-pushed thepr/feat/enhanced-cherk_rb branch from8efec18 to09b8de0CompareNovember 28, 2025 05:39
@tueda
Copy link
CollaboratorAuthor

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

jodavies reacted with thumbs up emoji

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@tueda@coveralls

[8]ページ先頭

©2009-2025 Movatter.jp