octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!t


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files
Date: Sat, 4 Jan 2020 14:12:46 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36

Follow-up Comment #24, bug #41298 (project octave):

Hold on, can you explain something to me?

If you look in Octave's libinterp/corefcn/ellipj.cc-tst, that file contains
both %!test and %!demo blocks. I believe that this bug, about extracting
tests, should extract all lines that begin with "$!" into the -tst files, just
like Octave.

Now if the file contains both %!test and %!demo blocks, running "pkg test"
should normally only run the %!test blocks, not the %!demo blocks. This is the
normal way of operating on tests and shouldn't be different in bug #41215,
which is why I brought it up there.

1. I think "-tst" files _should_ contain %!demo blocks.

2. I think "pkg test foo" _should not_ run %!demo blocks by default. Maybe
with an option, just like "test line" vs "test line verbose". That could be a
future enhancement.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?41298>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]