[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 700448] Re: Poor reporting of schematic load errors
** Summary changed:
- gnetlist succeeds with garbage schematics
+ Poor reporting of schematic load errors
** Description changed:
- affects geda
- tag gnetlist
- done
+ libgeda doesn't signal an error when a schematic or symbol file contains
+ invalid syntax, or when any other load error is encountered.
- gnetlist succeeds even when the input schematics specified contain
+ For example, gnetlist succeeds even when the input schematics specified contain
unusable garbage.
Steps to reproduce:
- echo GARBAGE > test.sch;
- if gnetlist -ggeda test.sch > /dev/null 2>/dev/null
- then
- echo Succeeded
- else
- echo Failed
- fi
+ ÂÂecho GARBAGE > test.sch;
+ ÂÂif gnetlist -ggeda test.sch > /dev/null 2>/dev/null
+ ÂÂthen
+ ÂÂÂÂecho Succeeded
+ ÂÂelse
+ ÂÂÂÂecho Failed
+ ÂÂfi
Expected output:
- Failed
+ ÂÂFailed
Actual output:
- Succeeded
+ ÂÂSucceeded
Thanks to Peter Clifton for pointing out this problem.
** Description changed:
libgeda doesn't signal an error when a schematic or symbol file contains
invalid syntax, or when any other load error is encountered.
- For example, gnetlist succeeds even when the input schematics specified contain
- unusable garbage.
+ For example, gnetlist succeeds even when the input schematics specified
+ contain unusable garbage.
Steps to reproduce:
ÂÂecho GARBAGE > test.sch;
ÂÂif gnetlist -ggeda test.sch > /dev/null 2>/dev/null
ÂÂthen
ÂÂÂÂecho Succeeded
ÂÂelse
ÂÂÂÂecho Failed
ÂÂfi
Expected output:
ÂÂFailed
Actual output:
ÂÂSucceeded
Thanks to Peter Clifton for pointing out this problem.
** Tags added: gschem
** Tags added: gnetlist
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/700448
Title:
Poor reporting of schematic load errors
Status in GPL Electronic Design Automation tools:
New
Bug description:
libgeda doesn't signal an error when a schematic or symbol file
contains invalid syntax, or when any other load error is encountered.
For example, gnetlist succeeds even when the input schematics
specified contain unusable garbage.
Steps to reproduce:
ÂÂecho GARBAGE > test.sch;
ÂÂif gnetlist -ggeda test.sch > /dev/null 2>/dev/null
ÂÂthen
ÂÂÂÂecho Succeeded
ÂÂelse
ÂÂÂÂecho Failed
ÂÂfi
Expected output:
ÂÂFailed
Actual output:
ÂÂSucceeded
Thanks to Peter Clifton for pointing out this problem.
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug