Opened 4 years ago

Closed 4 years ago

#16903 closed enhancement (implemented)

Autodetect chutney if next to tor

Reported by: teor Owned by: teor
Priority: Medium Milestone: Tor: 0.2.7.x-final
Component: Core Tor/Tor Version: Tor: 0.2.7.2-alpha
Severity: Keywords: TorCoreTeam201509 Post027Freeze SponsorS
Cc: Actual Points:
Parent ID: #16949 Points:
Reviewer: Sponsor:

Description

Typically, the chutney and tor directories exist side-by-side.
When src/test/test-network.sh is invoked, it should check for a chutney directory next to the tor directory before failing with a missing CHUTNEY_PATH.

Child Tickets

Change History (5)

comment:1 Changed 4 years ago by teor

Keywords: SponsorS added

comment:2 Changed 4 years ago by teor

Owner: set to teor
Status: newaccepted

comment:3 Changed 4 years ago by teor

Status: acceptedneeds_review

Branch: autodetect-chutney-path
Repository: https://github.com/teor2345/tor.git
Changes:

  • Modify src/test/test-network.sh to check if chutney is next to $TOR_DIR. If it exists, use that path for CHUTNEY_PATH.
  • Modify Makefile.am to check if chutney is next to $(top_srcdir). If the directory and executable exist, print an informative message, and assume src/test/test-network.sh will use that directory as CHUTNEY_PATH.

comment:4 Changed 4 years ago by teor

Parent ID: #16949

comment:5 Changed 4 years ago by nickm

Milestone: Tor: 0.2.7.x-final
Resolution: implemented
Status: needs_reviewclosed

Merged!

Note: See TracTickets for help on using tickets.