#!/bin/bash . ./functions.sh touch config.omk-default needs_valid_CC WVFAIL make NM=false FAILMSG="cmetric error was not correctly detected" WVPASS make FAILMSG="compilation error" eval $(make omk-get-var VAR=COMPILED_DIR_NAME|grep ^COMPILED_DIR_NAME) WVPASS diff -u correct_cmetric_config.h $COMPILED_DIR_NAME/include/test/cmetric_config.h