diff options
author | Richard Carlsson <[email protected]> | 2012-05-19 22:07:31 +0200 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2015-06-03 16:52:26 +0200 |
commit | c574bd33c39d91c487c3fcd819226ecfc46c13c8 (patch) | |
tree | 64a1d6cf9d235a2e845f171c21c35fb9188f429a /lib/eunit/src | |
parent | 65bf43e82a8ec731aafdbac74d41d65b63c7f49c (diff) | |
download | otp-c574bd33c39d91c487c3fcd819226ecfc46c13c8.tar.gz otp-c574bd33c39d91c487c3fcd819226ecfc46c13c8.tar.bz2 otp-c574bd33c39d91c487c3fcd819226ecfc46c13c8.zip |
Break out assert macros from eunit to stdlib assert.hrl
Several people have requested that the assert macros in EUnit should be
moved out to a separate header file. This patch puts them in
stdlib/include/assert.hrl, which gets included by the eunit.hrl file.
Thus, nothing changes for eunit users, but the asserts can now also be
included separately.
Diffstat (limited to 'lib/eunit/src')
-rw-r--r-- | lib/eunit/src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eunit/src/Makefile b/lib/eunit/src/Makefile index 47aef104ff..86a6d8831e 100644 --- a/lib/eunit/src/Makefile +++ b/lib/eunit/src/Makefile @@ -24,7 +24,7 @@ RELSYSDIR = $(RELEASE_PATH)/lib/eunit-$(VSN) EBIN = ../ebin INCLUDE=../include -ERL_COMPILE_FLAGS += -pa $(EBIN) -I$(INCLUDE) +warn_unused_vars +nowarn_shadow_vars +warn_unused_import +warn_obsolete_guard +ERL_COMPILE_FLAGS += -pa $(EBIN) -pa ../../stdlib/ebin -I$(INCLUDE) +warn_unused_vars +nowarn_shadow_vars +warn_unused_import +warn_obsolete_guard PARSE_TRANSFORM = eunit_autoexport.erl |