Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#52218 closed defect (fixed)

make test: Error: no mirror had select-0.1.tar.gz for gcc_select

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone: MacPorts 2.4.3
Component: base Version: 2.3.99
Keywords: Cc: neverpanic (Clemens Lang)
Port:

Description

This output appears when running make test:

Error: no mirror had select-0.1.tar.gz for gcc_select

Change History (6)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: neverpanic added

Clemens, you mentioned yesterday that you were familiar with how the tests work. Would you be able to look into the right fix for this?

comment:2 Changed 7 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to neverpanic
Status: newaccepted

comment:3 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: acceptedclosed

In 4c11f3bea113e305776751e98d5236e34175a972/macports-base:

tests: Avoid bogus error message during test runs

The distcheck unit test caused remote network traffic, which is bad from
a testing perspective. Additionally, it printed error messages to
stderr.

Avoid both of these problems by replacing the curl command with a mock
for the time of the test. This will also speed up the test.

Drop the unit test for the filesize distcheck.type, since there is no
good way to actually test whether it succeeds.

Closes: #52218

comment:4 Changed 7 years ago by neverpanic (Clemens Lang)

Keywords: needs-backport added
Milestone: MacPorts 2.5.0

comment:5 Changed 7 years ago by neverpanic (Clemens Lang)

In 1f63790f2535049f03d0732156c7efc5fe1f568c/macports-base:

tests: Avoid bogus error message during test runs

The distcheck unit test caused remote network traffic, which is bad from
a testing perspective. Additionally, it printed error messages to
stderr.

Avoid both of these problems by replacing the curl command with a mock
for the time of the test. This will also speed up the test.

Drop the unit test for the filesize distcheck.type, since there is no
good way to actually test whether it succeeds.

(cherry picked from commit 4c11f3bea113e305776751e98d5236e34175a972)

Closes: #52218

comment:6 Changed 7 years ago by neverpanic (Clemens Lang)

Keywords: needs-backport removed
Milestone: MacPorts 2.5.0MacPorts 2.4.3
Note: See TracTickets for help on using tickets.