Dan, Actually I think that ifeq is correct here. If the DEB_BUILD_OPTIONS variable contains nocheck then $(filter …) will return nocheck. Then we have ifeq(,nocheck), which is false, so debian/test.sh will not be executed. Which is what we want.
If nocheck is missing from the variable, $(filter …) will return an empty string, so we will have ifeq(,), which is true and the tests will be executed. Confusing make is confusing. -- Kinvolk GmbH | Adalbertstr. 6a, 10999 Berlin Geschäftsführer/Directors: Alban Crequy, Chris Kühl, Iago López Galeiras Registergericht/Court of registration: Amtsgericht Charlottenburg Registernummer/Registration number: HRB 171414 B Ust-ID-Nummer/VAT ID number: DE302207000