Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#279 closed bug (fixed)

uncomplete test-mechnism?

Reported by: gorzel Owned by: somebody
Priority: minor Milestone: 3-1-2 and higher
Component: singular-libs Version: 3-1-1
Keywords: Cc:

Description

Eine generelle Frage:

  • Werden die examples der procs aus den Libraries automatisch ausgefuehrt,
  • Falls ja, wird dann nur nach gesehen, ob Singular nicht abstuerzte,
  • oder wird auch geprueft, dass diese ohne Fehlermeldung laufen ?

Wie der Fall mit primecoeffs zeigte, war dies zumindest fuer general.lib nicht der Fall.

Wie es aussieht, man werfe mal einen Blick in das Hanbuch ist genreral.lib komplett abgehaengt. Es gab dafuer mal einen Grund (BUG) der inzwischen behoben (MP auf ix..) ist, so dass general.lib nun crash-frei laeuft.

Dennoch hat eine weitere Proc einen offensichtlichen trivialen Fehler, der gefunden wuerde, wenn die examples duchlauefen, und anschliessend ein

grep "error occurred in "

auf die Ausgabe von stderr angewendet wuerde.

Change History (3)

comment:1 Changed 14 years ago by hannes

Owner: changed from hannes to somebody

comment:2 Changed 14 years ago by hannes

Resolution: fixed
Status: newclosed
  • all examples mentioned in the manual will be computed during the build of the manual

(unless specified otherwise: no_ex)

  • all examples are checked for internal errors
  • all examples are checked for syntactical error unless specified otherwise (error)

see doc2tex.pl and the special comments in singular.doc: @c example [error] [no_comp] [unix_only] respectively @c lib libname.lib[:proc] [no_ex, no_fun, Fun, (\w*)section]

comment:3 Changed 14 years ago by gorzel

Well done, you have found the missing declaration of int ii in proc fibonacci !

Note: See TracTickets for help on using tickets.