tests: explain some errors messages are expected and check for safety checks.
authorbarbieri <barbieri>
Wed, 9 Sep 2009 01:53:40 +0000 (01:53 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Sep 2009 01:53:40 +0000 (01:53 +0000)
commitf9bf65127716c1741b88b061b8959e2a9f5339c5
treef6c86a60b9eede6f4fa3e451a290c8b0a7b0a96e
parent6e264a4b338fe484afb77fdbdbcf7be926fae8ba
tests: explain some errors messages are expected and check for safety checks.

Many people try "make check" and then complain they have some error
messages, but they are actually expected... but even for the
experienced is hard to know whenever it was expected or not, so
explicitly say that.

Also check if safety checks are enabled or not before doing "break"
tests, otherwise we'll end with segfaults and tests failing. (I have
not tested with them disabled, but should be okay).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@42360 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/tests/eina_test_counter.c
src/tests/eina_test_file.c
src/tests/eina_test_inlist.c
src/tests/eina_test_magic.c