[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #29656 [Core Tor/Tor]: describe global initialization in our tinytest-based unit tests
#29656: describe global initialization in our tinytest-based unit tests
-------------------------------+------------------------------
Reporter: catalyst | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: developer-doc
Actual Points: | Parent ID:
Points: | 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/WritingTests.md.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29656>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs