commit | 5d7a7c253a8f62ad2d9f289719ed4f283df25cfb | [log] [tgz] |
---|---|---|
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | Fri Apr 07 15:59:56 2017 +0300 |
committer | Anas Nashif <nashif@linux.intel.com> | Sat Apr 08 12:13:50 2017 +0000 |
tree | b9cc7244436683dee2d9dfdb8313b37aacb86387 | |
parent | 06685e75ae25080b5cf68034ffed978b34478b9d [diff] |
ztest: Give error if user has not defined CONFIG_ZTEST If user is trying to use ztest by including ztest.h but has not defined CONFIG_ZTEST, then fail the compilation as the result binary will not do anything. There is no check for CONFIG_ZTEST for unit tests that are run without qemu. Change-Id: Ief9bba3a3a0f6acc6a264f17cde828b6d7e543a5 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>