From e9a2d02fec6e3d662ed536f5b38bcbcedb549fa0 Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 22 Aug 2007 05:09:45 +0000 Subject: [PATCH] * bootstraptest/test_knwonbug.rb: added. This file will contain test cases which point out known bug. If bug is fixed, tests should move to the suitable place. * bootstraptest/test_massign.rb: move a test which show known bug to test_knownbug.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 11 ++++++++++- bootstraptest/test_knwonbug.rb | 9 +++++++++ bootstraptest/test_massign.rb | 2 -- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 bootstraptest/test_knwonbug.rb diff --git a/ChangeLog b/ChangeLog index eca4ca5266..2f2e72cadb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Wed Aug 22 14:04:53 2007 Koichi Sasada + + * bootstraptest/test_knwonbug.rb: added. This file will contain + test cases which point out known bug. If bug is fixed, tests + should move to the suitable place. + + * bootstraptest/test_massign.rb: move a test which show known bug + to test_knownbug.rb. + Wed Aug 22 13:02:26 2007 Tanaka Akira * bootstraptest/runner.rb (in_temporary_working_directory): @@ -19,7 +28,7 @@ Wed Aug 22 03:51:07 2007 Koichi Sasada * cont.c: add Fiber#resume and Fiber.yield. and Fiber::Core class to realize Coroutine. - * include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume(), + * include/ruby/intern.h: declare rb_fiber_yield(), rb_fiber_resume(). * enumerator.c: use above api. diff --git a/bootstraptest/test_knwonbug.rb b/bootstraptest/test_knwonbug.rb new file mode 100644 index 0000000000..069f09e41f --- /dev/null +++ b/bootstraptest/test_knwonbug.rb @@ -0,0 +1,9 @@ +# +# This test file concludes tests which point out known bugs. +# So all tests will cause failure. +# + +# massign +assert_equal '2', 'a, a = 1, 2; a', "[ruby-dev:31522]" + + diff --git a/bootstraptest/test_massign.rb b/bootstraptest/test_massign.rb index f0a2576d70..71b53452b9 100644 --- a/bootstraptest/test_massign.rb +++ b/bootstraptest/test_massign.rb @@ -4,8 +4,6 @@ assert_equal '[[1], 2, 3]', '*v1,(*), (a, b) = [1,:x,[2, 3]]; [v1, a, b]' assert_equal '[]', '*a = *nil; a' assert_equal '[nil]', '*a = nil; a' -assert_equal '2', 'a, a = 1, 2; a', "[ruby-dev:31522]" - =begin # generated by this script: