Opened 5 years ago

Closed 4 years ago

#11456 closed defect (wontfix)

'make test' should run the tests

Reported by: arma Owned by: dgoulet
Priority: Medium Milestone:
Component: Core Tor/Torsocks Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

torsocks appears to have tests in its tests/ directory. There's even a tests/run.sh that, when I run it, gives me a cryptic statement about testlists, but no hint about where I can find a testlist. How do I run them?

And can we hook that up to a 'make test' in the main directory?

Thanks!

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by dgoulet

Resolution: wontfix
Status: newclosed

make check is usually the prefered way for autoconf to run tests.

Torsocks now uses tap for testing thus run.sh is the script run by make check to fire up the tests. In tests/Makefile.am:

check-am:
    ./run.sh test_list

So, I'm not sure it's relevant here to have "make test" and "make check" do the same thing thus will close this one as wontfix. If you do fine a use case for it, we'll reopen this gone gladly!

Note: See TracTickets for help on using tickets.