Ticket #3636 (assigned enhancement)

Opened 8 years ago

Last modified 7 years ago

Develop tests for embedded scripts, e.g. VFS

Reported by: zaytsev Owned by: mooffie
Priority: major Milestone: Future Releases
Component: tests Version: master
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:1 Changed 7 years ago by mooffie

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:

  • #3730
  • #3635
  • New ticket(s) listing specific extfs helpers still lacking tests: #3729, ...

comment:2 Changed 7 years ago by zaytsev

  • Status changed from new to assigned
  • Owner set to mooffie

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...

Note: See TracTickets for help on using tickets.