trafficserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Paul <geor...@apache.org>
Subject Re: Validating submitted patches
Date Thu, 13 May 2010 15:21:01 GMT
The original testing framework does not exist anymore.
Currently only regression/unit tests in traffic_server are available.
You can run them by invoking 'traffic_server -R 1' after an install.
Currently only 4 of them related to the SDK fail. See
https://issues.apache.org/jira/browse/TS-74

The best example of regression tests are the SDK API ones
(proxy/InkAPITest.cc).

Information about Regression/unit tests needs to be pulled out into a
document/wiki/etc.

-George

On 5/11/10 3:03 PM, Alan M. Carroll wrote:
> I am trying to get my patches for a couple of the bugs I filed ready 
> to submit and I thought perhaps I would test them a bit first. But I 
> can't figure out how to get the test framework up. The instructions in 
> test/deft seem out of date. Most particularly are the instructions to 
> run gmake in the test directory, even though there are no makefiles 
> (not even a Makefile.am) there. There is no configure in test/deft to 
> generate a Makefile from the Makefile.am that is in that directory. Is 
> the test framework not in working order? If so, what is the expected 
> test procedure before submitting a patch?
> 
> I only have the toplevel 'traffic' directory locally. Is there some 
> test support in the 'site' or 'plugins' TLD?
> 


Mime
View raw message