diff options
author | Anders Svensson <anders@erlang.org> | 2013-02-13 15:26:00 +0100 |
---|---|---|
committer | Anders Svensson <anders@erlang.org> | 2013-02-18 13:03:27 +0100 |
commit | 9e636ec4d8ae12b87fdf4d9bd60403c734b0dead (patch) | |
tree | d074805c6ca0733899a85126d15468cbb654a1e6 /lib/diameter/test/Makefile | |
parent | e9bdf8a759e6fe7b64923a3452812a5b25ec9798 (diff) | |
download | otp-9e636ec4d8ae12b87fdf4d9bd60403c734b0dead.tar.gz otp-9e636ec4d8ae12b87fdf4d9bd60403c734b0dead.tar.bz2 otp-9e636ec4d8ae12b87fdf4d9bd60403c734b0dead.zip |
Make tweaks
Add a 'strict' target to compile with -Werror and fix a dependency.
Reorder test suites alphabetically. The two suites that currently take
the longest to run conveniently come last.
Diffstat (limited to 'lib/diameter/test/Makefile')
-rw-r--r-- | lib/diameter/test/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/diameter/test/Makefile b/lib/diameter/test/Makefile index aa4b7eaeb1..47f84a8a42 100644 --- a/lib/diameter/test/Makefile +++ b/lib/diameter/test/Makefile @@ -56,7 +56,8 @@ DATA_DIRS = $(sort $(dir $(DATA))) ERL_COMPILE_FLAGS += +warn_export_vars \ +warn_unused_vars \ -I ../include \ - -I ../src/gen + -I ../src/gen \ + $(STRICT_FLAGS) # ---------------------------------------------------- # Targets @@ -64,6 +65,9 @@ ERL_COMPILE_FLAGS += +warn_export_vars \ all debug opt: $(TARGET_FILES) +strict: + $(MAKE) opt STRICT_FLAGS=-Werror + # Require success ... run: $(SUITES) @@ -114,7 +118,7 @@ help: @echo " Echo some relevant variables." @echo ======================================== -.PHONY: all any run clean debug docs help info opt realclean +.PHONY: all any run clean debug docs help info opt realclean strict # ---------------------------------------------------- # Special Targets |