Commit Graph

40 Commits

Author SHA1 Message Date
Daniel Bovensiepen 150b235fb6 Add Tests for all Exception classes, for false, true, Proc, Module, nil and Object 2012-05-25 14:01:14 +08:00
Yukihiro "Matz" Matsumoto f1f4f030dd Merge pull request #189 from bovi/add-kernel-tests
Add ISO Test Cases for Kernel
2012-05-23 17:09:10 -07:00
Daniel Bovensiepen 2664eb5ca6 Add ISO Test Cases for Kernel 2012-05-24 05:33:29 +08:00
Jon 105c11b7f6 Clean and DRY up the basic Makefiles 2012-05-23 13:19:40 -04:00
Yukihiro Matsumoto 52b2d092d3 test t/*.rb spacing fix 2012-05-23 12:00:49 +09:00
Yukihiro "Matz" Matsumoto 9a64598121 Merge pull request #180 from mitchblank/master
call mrb_close() in tools and test programs
2012-05-22 11:01:29 -07:00
Jon 9f89da6eef Add native and cross compiling CMake build support 2012-05-22 10:50:28 -04:00
Mitchell Blank Jr d1cd10421f change example code to do mrb_close()
I was hoping this would cause valgrind to complain less, but there is still
a lot of memory leaked (does mrb_close() actually free all of the managed
blocks?)  Anyway this helps somewhat and is good practice
2012-05-22 01:03:54 -07:00
Yukihiro Matsumoto 21bd5d7924 print description on exceptions 2012-05-21 10:39:29 +09:00
Daniel Bovensiepen e1e072b800 Fix Hash#shift return value from Hash to Array 2012-05-20 13:18:34 +08:00
Daniel Bovensiepen d45ecc3270 Complete ISO test cases for Hash, Range, String and Symbol 2012-05-19 23:18:42 +08:00
Daniel Bovensiepen 8bf21cdeae Finish all Float ISO Tests 2012-05-19 02:21:26 +08:00
Daniel Bovensiepen 2331738c21 Complete Integer Tests for ISO 2012-05-19 00:44:43 +08:00
Yukihiro Matsumoto 53f74d50ae update test/Makefile 2012-05-18 17:36:43 +09:00
Paolo Bosetti d1f6f504d5 Added some tests for Math module. Some refactoring in math.c; numeric tolerance exported as Math::TOLERANCE and also used for fuzzy tests in mrbtest suite 2012-05-17 23:50:56 -07:00
Paolo Bosetti 8027d5120d Merge branch 'tests' of github.com:pbosetti/mruby into tests 2012-05-17 22:55:35 -07:00
Yukihiro Matsumoto 8846f75ecc refactor test driver 2012-05-18 14:29:36 +09:00
Yukihiro Matsumoto 332565e3ba remove confusing dependency; run "make" before "make test" 2012-05-18 14:29:14 +09:00
Yukihiro Matsumoto 7fdc42355a rename compiler.h to mruby/compiler.h 2012-05-18 14:28:33 +09:00
Paolo Bosetti 5760ad7d59 Minor edits in tests for Math module 2012-05-17 17:40:21 -07:00
Paolo Bosetti 0567ee03a5 Merge branch 'master' into math_tests 2012-05-16 14:37:22 -07:00
Yukihiro Matsumoto 3bbd82c240 remove duplicated rule 2012-05-17 05:59:31 +09:00
Paolo Bosetti 576fdcdf6d Added some tests for trig functions in Math module. Also, tests are made against a tolerance on Floats 2012-05-16 12:44:03 -07:00
Daniel Bovensiepen 3bec8b330c Add Tests for Numeric 2012-05-16 11:18:55 -07:00
Daniel Bovensiepen 241d3f7eb3 Add Tests for Integer 2012-05-16 11:18:42 -07:00
Daniel Bovensiepen 5c6f04120a Add Math Test for new implementation 2012-05-16 10:58:00 -07:00
Daniel Bovensiepen dacecdb93c Better indention of assert report 2012-05-16 10:18:27 -07:00
Daniel Bovensiepen 582795a3bf Complete all Array ISO Codes 2012-05-16 10:15:30 -07:00
Daniel Bovensiepen 26c6031a53 Move assert lib for tests one directory up and add it always in the beginning 2012-05-16 16:07:55 +08:00
Daniel Bovensiepen dd6af6d2ec Add newline in the end of test case files so that the concat of all files works in all cases proper 2012-05-16 16:00:05 +08:00
Daniel Bovensiepen b4a80d7485 Add first part of the bootstrap code 2012-05-16 15:50:54 +08:00
Daniel Bovensiepen 254023f1e7 Remove array for now due to the reason that they are lost after exception was raised 2012-05-16 15:49:40 +08:00
Daniel Bovensiepen 769a7e0ed3 handle exceptions in tests and reduce syntax features in assert code 2012-05-16 15:47:22 +08:00
Yukihiro Matsumoto 8085817cb5 make test restructuring 2012-05-14 23:04:13 +09:00
Daniel Bovensiepen c82a518ee1 removed.. content is now in time.rb 2012-05-14 20:22:20 +08:00
Daniel Bovensiepen c8c0ef85bc mrit - Embeddable Ruby ISO Test 2012-05-14 20:21:31 +08:00
Yukihiro Matsumoto 4f1f243fe7 initialize_copy: copy destination object may not be intialized 2012-05-07 18:02:32 +09:00
Yukihiro Matsumoto 4f9a7e90ad test_time should pass 2012-05-06 02:15:25 +09:00
Yukihiro Matsumoto b0e94d8c14 Time class available; based on code from @beoran; sorry for jumbo patch 2012-05-06 00:52:22 +09:00
Yukihiro Matsumoto e806f55e69 move mrb_str_new prototype to mruby.h 2012-05-04 22:39:21 +09:00