Commit graph

5 commits

Author SHA1 Message Date
Alexander Motzkau
fa61acc6b7 Fixed a crash on exceptions with python efun closures.
On a call to python efun closures the funstart entry
in the constrol stack was left uninitialized, resulting
in a crash when it that value was used to generate
the stack trace.
2018-01-30 23:27:00 +01:00
Zesstra
c4f2fdbdd0 Added testcases for some basic operators dealing with ints.
Added some testcases for bitwise AND, OR, XOR, left shift, right shift,
logical right shift, modulus and their respective assignment operators.

git-svn-id: svn://svn.bearnip.com/ldmud/trunk@2975 56160b6e-f8f8-0310-bd54-bccebfe6a2f2
2011-02-13 20:33:51 +00:00
Fuchur
902656f32a - (test/t-efuns.c)
Add a few tests for map().
  - (array.c, strfuns.c, structs.c, efuns.c, doc/efun[.de]/map[.de])
    Implement map(*, mapping, idx). (#367)



git-svn-id: svn://svn.bearnip.com/ldmud/trunk@2533 56160b6e-f8f8-0310-bd54-bccebfe6a2f2
2009-03-15 13:04:47 +00:00
Zesstra
cd34945484 - (port.c)
Check results of gmtime() and localtime() and return NULL, if NULL is
  returned.
- (efuns.c)
  Check results of gmtime(), localtime(), time_fstring() and utime_string()
  for being NULL and raise a runtime error. (#587)
- (test/inc/testarry.inc, test/t-mantis.c)
  Added tests for the efuns affected by bug #587.
  Added an test flag TF_DONTCHECKERROR for tests which must not crash the
  driver but may cause a runtime error or not.


git-svn-id: svn://svn.bearnip.com/ldmud/trunk@2519 56160b6e-f8f8-0310-bd54-bccebfe6a2f2
2009-02-15 15:27:48 +00:00
Gnomi
8e7f138ab5 - (test/*) Added a testsuite and included existing test cases therein.
git-svn-id: svn://svn.bearnip.com/ldmud/trunk@2371 56160b6e-f8f8-0310-bd54-bccebfe6a2f2
2008-07-03 14:07:17 +00:00