bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tests: portability fix


From: Tim Rühsen
Subject: Re: tests: portability fix
Date: Thu, 3 Aug 2023 10:40:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1

Thanks, pushed.

On 8/2/23 11:35, Christian Weisgerber wrote:
There is a portability problem in wget's tests/Makefile, which
variously refers to "unit-tests" and "./unit-tests".  GNU make
recognizes "foo" and "./foo" as the same target.  Other make(1)
implementations may not; OpenBSD's doesn't.

Unbreak the test suite:

--- tests/Makefile.am.orig
+++ tests/Makefile.am
@@ -156,7 +156,7 @@ AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
CLEANFILES = *~ *.bak core core.[0-9]* -TESTS = ./unit-tests$(EXEEXT) $(PX_TESTS)
+TESTS = unit-tests$(EXEEXT) $(PX_TESTS)
  TEST_EXTENSIONS = .px
  PX_LOG_COMPILER = $(PERL)
  AM_PX_LOG_FLAGS = -I$(srcdir)

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]