apjanke / octave-testify

New BIST (Built-In Self Test) functions for GNU Octave
GNU General Public License v3.0
4 stars 2 forks source link

Lousy error message when trying `runtests2 -pkg` on non-installed package #96

Open apjanke opened 4 years ago

apjanke commented 4 years ago
>> runtests2 -pkg nan
error: info(1): out of bound 0 (note: variable 'info' shadows function)
error: called from
    add_package at line 255 column 12
    runtests2 at line 96 column 9
>> pkg load nan
error: package nan is not installed
error: called from
    load_packages at line 41 column 7
    pkg at line 457 column 7
>> pkg install -forge nan