Opened 9 months ago

Last modified 3 months ago

#29656 new defect

describe global initialization in our tinytest-based unit tests

Reported by: catalyst Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: developer-doc, network-team-roadmap-october, s31-docs
Cc: nickm Actual Points:
Parent ID: Points: 1
Reviewer: Sponsor: Sponsor31-can


I was trying to figure out how global state initialization happens in our unit tests. I eventually found that src/test/test_common.c is the location of the main() function for the tinytest-based test programs. We should document this better, probably in doc/HACKING/

Child Tickets

Change History (3)

comment:1 Changed 5 months ago by nickm

Points: 0.5

comment:2 Changed 5 months ago by gaba

Cc: nickm added
Keywords: network-team-roadmap-october added
Points: 0.51

comment:3 Changed 3 months ago by nickm

Keywords: s31-docs added
Note: See TracTickets for help on using tickets.