Opened 2 months ago

Last modified 6 weeks ago

#26373 new defect

test_rust.sh should detect when it's being invoked improperly and error out

Reported by: catalyst Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: rust, testing, tor-tests, 035-removed-20180711
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

While attempting to test #26258, I noticed that running src/test/test_rust.sh from the top of the source tree exited with status 0 and no output. It should probably detect that it failed to find any Cargo.toml files and exit with a failure status with an error message. (This seems to happen because some necessary environment variables aren't set.)

Prior to #26258, the find invocation failing would probably have taken care of this, so this change should probably get back ported to the same releases.

Child Tickets

Change History (1)

comment:1 Changed 6 weeks ago by nickm

Keywords: 035-removed-20180711 added
Milestone: Tor: 0.3.5.x-finalTor: unspecified

These tickets are being triaged out of 0.3.5. The ones marked "035-roadmap-proposed" may return.

Note: See TracTickets for help on using tickets.