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: John Donoghue
Subject: [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files
Date: Sat, 28 Dec 2019 08:50:35 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

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

Works on dicom that  has .cpp files with tests, zeromq which has .cc files
with tests.


On instrument control, which doesnt have any source files in the main src
directory I get:
error: structure has no member 'name'
error: called from
    configure_make at line 99 column 8
    install at line 190 column 7
    pkg at line 480 column 9

-> need to check whether there any  files before iterating the file.name 


Note that instrument control has no sources in the base src directory.


statistics also has a source directory, but doesnt have source files in it -
it just runs configure so work out what needs be installed, so the empty check
would be needed there as well.


In the case of instrument control, it does create a generated .cc file with
all the package adds in it (since pkg install doesnt install from sub dirs) so
perhaps the test extraction should go after the make  ? That way if anyone has
generated sources with tests in them, they would get installed ??




    _______________________________________________________

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]