Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: afw
-
Story Points:1
-
Epic Link:
-
Sprint:DRP X16-2
-
Team:Data Release Production
Description
If afw_data is not available then the afw unit tests are not built. I think it would make more sense to build all of them and run those we can (not all depend on afw_data). One advantage is that a version of afw installed using "eups distrib install" would include built tests, so the tests could be run. This is presently not practical because the SConstruct file is not installed (I intend to open a ticket about that, as well).
Attachments
Issue Links
- is duplicated by
-
DM-2344 absence of afwdata should not disable all afw tests
- Invalid
-
DM-4328 AFW tests should run and skip if afwdata is missing
- Invalid
- relates to
-
DM-3901 Update some tests to support nose and/or py.test
- Done
-
DM-4329 Coadd_utils tests should run and skip if afwdata is missing
- Done
-
DM-4358 obs_subaru tests should skip within the tests if test data can not be located
- Done
-
DM-5561 Write tech note on modifications required to use py.test framework
- Done
-
DM-7461 afw test suite fails in the absence of afwdata
- Done
-
DM-610 The SConstruct file is not installed by "scons install"
- Won't Fix
- mentioned in
-
Page Loading...
Hi Tim!
Could you please give this ticket a review? I've used unittesst.skipIf to skip the Python tests that depend on afwdata and Boost UTF utf::enabled() & utf::disabled() decorators to skip c++ tests that depend on afwdata. Four c++ test suites that depend on afwdata aren't written using the Boost UTF framework which makes it difficult to skip individual tests. For now, for these four test suites, the whole test suite is skipped if afwdata is not setup. I have created DM-5843 to refactor these four suites (and any others that were not affected by this ticket) to use the Boost UTF.