Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The runtests.fth file needs to be improved #5

Open
gerryjackson opened this issue Nov 25, 2015 · 0 comments
Open

The runtests.fth file needs to be improved #5

gerryjackson opened this issue Nov 25, 2015 · 0 comments

Comments

@gerryjackson
Copy link
Owner

Currently runtests.fth uses S" in interpreter mode which is a File-Access word set capability and uses INCLUDED also from that word set.

I don't think we can do much about INCLUDED except to say that if a system cannot include a file they'll have to find some way of streaming it in whhich we can't help with as it's likely to be different in all systems.

The S" problem can be solved in two ways, before and after Core tests

  1. Before core.fr we can use a trick such as:
    ( core.fr ) SOURCE DROP 2 CHARS + 7 INCLUDED
  2. After core.fr we can define:
    : TEST-FILE BL WORD COUNT INCLUDED ;
    where usage is:
    TEST-FILE coreplustest.fth
    etc.
    For neatness we might want to define LOAD-FILE for errorreport.fth as that's not being tested.

Any other ideas?

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

No branches or pull requests

2 participants