Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c3d830

Browse files
committed
Fix TAP tests with Perl 5.8
The prove program included in Perl 5.8 does not support the --extoption, so don't use that and use wildcards on the command line instead.Note that the tests will still all be skipped, because, for instance,the version of Test::More is too old, but at least the regularmechanisms for handling that will apply, instead of failing to callprove altogether.
1 parent4a54b99 commit5c3d830

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/Makefile.global.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ BZIP2= bzip2
297297
# Testing
298298

299299
PROVE = @PROVE@
300-
PG_PROVE_FLAGS = --ext='.pl' -I$(top_srcdir)/src/test/perl/
300+
PG_PROVE_FLAGS = -I$(top_srcdir)/src/test/perl/
301301
PROVE_FLAGS = --verbose
302302

303303
# prepend to path if already set, else just set it
@@ -311,13 +311,13 @@ $(if $(filter $(PORTNAME),darwin),DYLD_LIBRARY_PATH,$(if $(filter $(PORTNAME),ai
311311
endef
312312

313313
defineprove_installcheck
314-
cd$(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)'$(PROVE)$(PG_PROVE_FLAGS)$(PROVE_FLAGS) t/
314+
cd$(srcdir) && TESTDIR='$(CURDIR)' PATH="$(bindir):$$PATH" PGPORT='6$(DEF_PGPORT)'$(PROVE)$(PG_PROVE_FLAGS)$(PROVE_FLAGS) t/*.pl
315315
endef
316316

317317
defineprove_check
318318
$(MKDIR_P) tmp_check/log
319319
$(MAKE) -C$(top_builddir) DESTDIR='$(CURDIR)'/tmp_check/install install >'$(CURDIR)'/tmp_check/log/install.log 2>&1
320-
cd$(srcdir) && TESTDIR='$(CURDIR)' PATH="$(CURDIR)/tmp_check/install$(bindir):$$PATH"$(call add_to_path,$(ld_library_path_var),$(CURDIR)/tmp_check/install$(libdir)) PGPORT='6$(DEF_PGPORT)'$(PROVE)$(PG_PROVE_FLAGS)$(PROVE_FLAGS) t/
320+
cd$(srcdir) && TESTDIR='$(CURDIR)' PATH="$(CURDIR)/tmp_check/install$(bindir):$$PATH"$(call add_to_path,$(ld_library_path_var),$(CURDIR)/tmp_check/install$(libdir)) PGPORT='6$(DEF_PGPORT)'$(PROVE)$(PG_PROVE_FLAGS)$(PROVE_FLAGS) t/*.pl
321321
endef
322322

323323
# Installation.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp