[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

detecting autopkgtest



Hello, is checking for the environment variable ADTTMP the recommended
way to test if a test is being run by adt-run?  It seems to work, but
I'd like to know if there is a better way or not.

I've many packages with a decent "test" target already, run at build
time.  In case this target is run by adt-run I want it to behave in
a slightly different way.  For exmample I don't want to set env
variables so that non system-wide installed .so files are found,
something really needed when running the tests at build time.

Cheers
-- 
Enrico Tassi


Reply to: