On 7/18/12 11:03 AM, Leif Hedstrom wrote:
On 7/18/12 10:45 AM, Adam Phelps wrote:
On 7/18/12 10:32 AM, Leif Hedstrom wrote:
On 7/18/12 8:56 AM, Adam Phelps wrote:
I'm looking to do make some changes to ATS in addition to doing some work
on a plugin, and generally have a preference to to have unit tests for
most of the stuff I write. I figured I'd first look into what testing
was already in the ATS code base, and see a decent number of tests.
However it seems that "make check" is only building the test code in
lib/ts. Am I missing something here?
Some of that goes into the regression tests, which are built into the
traffic_server binary. E.g. "sudo traffic_server -R 1".
Thanks for the info.
For these regression tests is it a release requirement that they fully
pass? ie should they pass cleanly when run against the current 3.2.0 release?
Yep. They only pass with the default configs though, so have to make a fresh
install and run the regressions. Our CI build system should run them as
well, meaning, if it passes buildbot, it should be gtg.
Ok. Is there a way to have trafficserver use an alternate config directory?
"DESTDIR=/tmp/trafficserver make install" will install into an alternate
location, which in theory could be used to run the regression tests again a
different set of configs on our CI system from those being used for our other
testing.
Thanks
- Adam