test/39-alltargets: Be more generic