P4DTI issue job000275

TitleUnit tests only support one configuration per platform
Statusclosed
Priorityoptional
Assigned userGareth Rees
OrganizationRavenbrook
DescriptionIf you want to try the test_p4dti.py unit tests on a new configuration, I have to edit or replace config_<hostname>.py. But it would be very useful to be able to try out the unit tests on several configurations.
AnalysisThe test_p4dti.py script assumes that the test configuration is in a file called config_<hostname>.py. There should be other ways to specify which configuration file to use: an environment variable, or a command-line option.
How foundmanual_test
Evidence<http://www.ravenbrook.com/project/p4dt...3-12/integration-kit/test/test_p4dti.py>
Observed in1.1.6
Introduced in1.1.0
Created byGareth Rees
Created on2001-03-22 17:55:59
Last modified byGareth Rees
Last modified on2001-12-10 19:35:46
History2001-03-22 GDR Created.

Fixes

Change Effect Date User Description
22638 closed 2001-09-24 17:22:30 Gareth Rees The unit tests use the P4DTI_CONFIG environment variable, if set, to find the test configuration.