зеркало из https://github.com/github/ruby.git
Check leaked global symbols by default
This commit is contained in:
Родитель
8968b47ba8
Коммит
2f1586f6f2
|
@ -54,7 +54,6 @@ task:
|
|||
make_extract-extlibs_script: make extract-extlibs
|
||||
make_incs_script: make incs
|
||||
make_script: make
|
||||
make_leaked-globals_script: make leaked-globals
|
||||
make_test_script: make test
|
||||
make_install_script: make install
|
||||
install_gems_for_test_script: $RUBY_PREFIX/bin/gem install --no-doc timezone tzinfo
|
||||
|
|
|
@ -124,7 +124,6 @@ jobs:
|
|||
- run: make incs
|
||||
- run: make showflags
|
||||
- run: make
|
||||
- run: make leaked-globals
|
||||
- run: make test
|
||||
- run: make install
|
||||
if: ${{ matrix.entry.check }}
|
||||
|
|
|
@ -252,7 +252,6 @@ jobs:
|
|||
- run: make incs
|
||||
- run: make showflags
|
||||
- run: make
|
||||
- run: make leaked-globals
|
||||
- run: make test
|
||||
- run: make install
|
||||
if: ${{ matrix.entry.check }}
|
||||
|
|
|
@ -77,8 +77,6 @@ jobs:
|
|||
- run: make prepare-gems
|
||||
if: ${{ matrix.test_task == 'test-bundled-gems' }}
|
||||
- run: make
|
||||
- run: make leaked-globals
|
||||
if: ${{ matrix.test_task == 'check' }}
|
||||
- name: make ${{ matrix.test_task }}
|
||||
run: |
|
||||
make -s ${{ matrix.test_task }} ${TESTS:+TESTS=`echo "$TESTS" | sed 's| |$$/ -n!/|g;s|^|-n!/|;s|$|$$/|'`}
|
||||
|
|
|
@ -127,8 +127,6 @@ jobs:
|
|||
run: |
|
||||
make
|
||||
|
||||
- run: make leaked-globals
|
||||
|
||||
- name: make install
|
||||
run: |
|
||||
make DESTDIR=../install install-nodoc
|
||||
|
|
|
@ -101,8 +101,6 @@ jobs:
|
|||
- run: $SETARCH make prepare-gems
|
||||
if: ${{ matrix.test_task == 'test-bundled-gems' }}
|
||||
- run: $SETARCH make
|
||||
- run: $SETARCH make leaked-globals
|
||||
if: ${{ matrix.test_task == 'check' }}
|
||||
- name: Create dummy files in build dir
|
||||
run: |
|
||||
$SETARCH ./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}'
|
||||
|
|
|
@ -134,8 +134,6 @@ jobs:
|
|||
- run: make prepare-gems
|
||||
if: ${{ matrix.test_task == 'test-bundled-gems' }}
|
||||
- run: make -j
|
||||
- run: make leaked-globals
|
||||
if: ${{ matrix.test_task == 'check' }}
|
||||
- name: Create dummy files in build dir
|
||||
run: |
|
||||
./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}'
|
||||
|
|
|
@ -636,6 +636,6 @@ un-runnable:
|
|||
$(ECHO) cannot make runnable, configure with --enable-load-relative.
|
||||
$(Q) exit 1
|
||||
|
||||
# yes-test-basic: leaked-globals
|
||||
yes-test-basic: $(DOT_WAIT) leaked-globals
|
||||
leaked-globals: $(COMMONOBJS) prog $(tooldir)/leaked-globals PHONY
|
||||
$(Q) $(XRUBY) $(tooldir)/leaked-globals NM="$(NM) -Pgp" SYMBOL_PREFIX=$(SYMBOL_PREFIX) PLATFORM=$(hdrdir)/ruby/$(PLATFORM_DIR).h $(srcdir)/configure.ac $(COMMONOBJS)
|
||||
|
|
Загрузка…
Ссылка в новой задаче