Hi, I've pushed a fix to github. Now all tests are skipped, where no model file exists.
https://github.com/werner2101/spicelib/commit/e57deb8f6d247357d0e175c60cfcb530d7487ea0 All the missing files are marked in the result table. https://github.com/werner2101/spicelib/commit/bae722ac14192e16c4938aa98c656d1ec0cd0a1a Regards Werner Am Donnerstag, den 21.02.2013, 12:31 -0800 schrieb [email protected]: > To pass the missing mod files I linked them to an exiting one. There are > way too many missing objects so can't be done manually. > > Is there a way to skip the missing objects and continue? > > Thanks. > > > On Wed, Feb 20, 2013 at 3:00 AM, Werner Hoch <[email protected]> wrote: > > > Hi > > > > Am Mittwoch, den 13.02.2013, 14:28 -0800 schrieb [email protected]: > > > Using spicelib, I was able to download and create models but somehow > > > getting this error. > > > > > > ~/spicelib-master$ scons create > > > scons: Reading SConscript files ... > > > scons: done reading SConscript files. > > > scons: Building targets ... > > > scons: `create' is up to date. > > > scons: done building targets. > > > ~/spicelib-master$ scons test > > > scons: Reading SConscript files ... > > > scons: done reading SConscript files. > > > scons: Building targets ... > > > scons: *** [model_tests/national/opamps/LMV861_LM00215/status.cfg] Source > > > `model_library/national/opamps/LMV861.MOD' not found, needed by target > > > `model_tests/national/opamps/LMV861_LM00215/status.cfg'. > > > scons: building terminated because of errors. > > > ~/spicelib-master$ ls model_tests/national/opamps/ > > > LMC6062B_LM00064 > > > > > I link model_library/national/opamps/LMV861.MOD to some other opamp and > > the > > > test progresses. But there are too may of the missing files. Linked all > > > national missing now it is complaining about missing nxp diodes. > > > > > > Are the index files hard-coded or dynamically generated? Is there a way > > to > > > overcome these without linking each of the missing MOD file? > > > > The models are indexed in this files > > spicelib/indexfiles/[vendor]_[typ].index. > > > > Everytime a vendors drop or add a new model the index files need an > > update. > > > > I'm not sure whether it would be a good idea not to fail if a model is > > missing. > > > > You can get a list of missing models and new models with that command: > > spicelib> ./scripts/testlibrary.py -i indexfiles/national_opamps.index > > > > In the bottom of the result file > > spicelib/model_tests/national/opamps/index.html > > you find a list of all missing models and all new models. > > > > Maybe there should just be an easy way to drop the missing model from > > the index files. Currently you have to remove them manually. _______________________________________________ Help-gnucap mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnucap
