Ticket #3636 (closed enhancement: invalid)
Develop tests for embedded scripts, e.g. VFS
Reported by: | zaytsev | Owned by: | mooffie |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | tests | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
It would be great if we could at least syntax check embedded Perl and Python scripts. Otherwise, they get broken by typos and bad merges without anyone noticing.
See #3620 for the details.
Change History
comment:2 Changed 8 years ago by zaytsev
- Owner set to mooffie
- Status changed from new to assigned
What I had in mind when opening this ticket was to add a test that simply runs something like perl -wc on anything we have in terms of Perl scripts in the repository, and this will cover a little bit of everything, like parts of extfs written in Perl, some FISH stuff, etc.
Now, thanks to your excellent work, at least the most dangerous and error-prone part of extfs scripts can now be tested (file listing), and is actually tested for several scripts, irrespectively of the language in which they are written. You are right that there is a separate ticket that I filed for FISH stuff, after the bug fixing fiasco. The Perl scripts that remain are probably not worth extra effort.
Please feel free to close this ticket as wontfix or something...
comment:3 Changed 4 months ago by zaytsev
- Status changed from assigned to testing
- Resolution set to invalid
- Milestone Future Releases deleted
This ticket is not specific enough, and we've got enough unspecific tickets already. VFS scripts are somewhat covered, FISH scripts are not, but ticket exists. So I will close this as invalid.
The aim of this ticket is too general: What kind of tests? -syntax check?
-functionality? What scripts? -extfs? -FISH? -others?
So I suggest to mark it a dup of: