[master] add autotest available at compile time