From: nobu@... Date: 2016-11-15T05:47:15+00:00 Subject: [ruby-core:78143] [Ruby trunk Bug#12785] misc/test_ruby_mode.rb failed with emacs 25.1.1 Issue #12785 has been updated by Nobuyoshi Nakada. Backport changed from 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN to 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED ---------------------------------------- Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1 https://bugs.ruby-lang.org/issues/12785#change-61505 * Author: Kazuhiro NISHIYAMA * Status: Closed * Priority: Normal * Assignee: Nobuyoshi Nakada * ruby -v: trunk * Backport: 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED ---------------------------------------- When emacs is 25.1.1, test/misc/test_ruby_mode.rb causes 8 failures. ``` vagrant@archlinux:~/ruby/build$ make test-all TESTS=misc/test_ruby_mode.rb CC = ccache gcc LD = ld LDSHARED = ccache gcc -shared CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Werror=implicit-int -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=deprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -std=gnu99 -fPIC XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT CPPFLAGS = -DRUBY_DEBUG_ENV -DARRAY_DEBUG -I. -I.ext/include/x86_64-linux -I../include -I.. -I../enc/unicode/9.0.0 DLDFLAGS = -Wl,-soname,libruby.so.2.4 -fstack-protector SOLIBS = -lpthread -lgmp -ldl -lcrypt -lm ������������ spec ��������������������������� COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/lto-wrapper ���������������: x86_64-pc-linux-gnu configure ������: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release ���������������������: posix gcc ��������������� 6.2.1 20160830 (GCC) Run options: "--ruby=./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb --extout=.ext -- --disable-gems" --excludes-dir=../test/excludes --name=!/memory_leak/ # Running tests: [1/9] TestRubyMode::TestIndent#test_array_after_paren_and_space = 0.08 s 1) Failure: TestRubyMode::TestIndent#test_array_after_paren_and_space [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:156]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [2/9] TestRubyMode::TestIndent#test_array_literal = 0.08 s 2) Failure: TestRubyMode::TestIndent#test_array_literal [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:123]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [3/9] TestRubyMode::TestIndent#test_begin_end = 0.08 s 3) Failure: TestRubyMode::TestIndent#test_begin_end [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:144]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [4/9] TestRubyMode::TestIndent#test_expr_in_regexp = 0.08 s 4) Failure: TestRubyMode::TestIndent#test_expr_in_regexp [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:98]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [5/9] TestRubyMode::TestIndent#test_keyword_label = 0.08 s 5) Failure: TestRubyMode::TestIndent#test_keyword_label [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:72]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [6/9] TestRubyMode::TestIndent#test_method_with_question_mark = 0.08 s 6) Failure: TestRubyMode::TestIndent#test_method_with_question_mark [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:86]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [7/9] TestRubyMode::TestIndent#test_simple = 0.08 s 7) Failure: TestRubyMode::TestIndent#test_simple [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:58]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". [9/9] TestRubyMode::TestIndent#test_spread_arguments = 0.08 s 8) Failure: TestRubyMode::TestIndent#test_spread_arguments [/home/vagrant/ruby/test/misc/test_ruby_mode.rb:172]: Expected /^Wrote / to match "Indenting region...\nIndenting region...done\n". Finished tests in 0.670478s, 13.4233 tests/s, 64.1334 assertions/s. 9 tests, 43 assertions, 8 failures, 0 errors, 1 skips ruby -v: ruby 2.4.0dev (2016-09-22 trunk 56204) [x86_64-linux] make: *** [uncommon.mk:623: yes-test-all] ��������� 8 vagrant@archlinux:~/ruby/build$ emacs --version GNU Emacs 25.1.1 Copyright (C) 2016 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. ``` -- https://bugs.ruby-lang.org/ Unsubscribe: