Builds 'active' status

The release related discussions, plans and questions.
Locked
olivier_houdas
TestLink user
Posts: 1
Joined: Mon Dec 10, 2007 1:50 pm

Builds 'active' status

Post by olivier_houdas »

Hi all,
I'm new to this group, as we're only starting to use Testlink in our company. The testing team increased (from 1,5 to 5 people), and it is now necessary to trace all tests performed...
In particular, we enter in TestLink results of daily automatic builds (100 points of tests run every night after compilation and deployment).

-> We already have 20 builds with results ! (2000 results as a whole)

Then, I came across a problem this morning : Memory allocation error in resultsTC.php (more than 8MB of memory requested).
This is easy to fix by setting Max memory for one PHP script from 8MB to more in the PHP configuration. OK.

However, with 20 builds, the general report is huge.
So I set some builds as "Inactive". But it did not change anything.
Still, in the doc, it is written the following :
"Active / Inactive – defines whether the build is available for TestLink functionality. Inactive build is not listed in both execution and reports pages."

Should it be considered a bug, then ? It would be easy to fix (in resultsTC.php, line #41, change
$arrBuilds = $tp->get_builds($tpID);
to
$arrBuilds = $tp->get_builds($tpID,1); //second (optionnal) parameter is only tested towards "null", so it can be anything to activate the filtering on active builds
)
but I am not sure whether this is indeed the purpose of the "Inactive" status.

Any opinion on that point ?

Thanks,
Olivier.
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

This is a bug. You can just update to 1.7.1 (there is already fixed); or wait a week for 1.7.2 version.
Locked