diff options
| author | Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> | 2016-05-30 18:04:27 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien.pedron@dumbbell.fr> | 2016-05-30 18:09:17 +0200 |
| commit | ec5a71d79ac5e8e200ce51827a3fb2c4b8887de1 (patch) | |
| tree | cb9ee81f328b284972d54f3f5e78984b401d1639 /Makefile | |
| parent | 455644498e97f91c7005bed85d2519db5f506030 (diff) | |
| download | rabbitmq-server-git-ec5a71d79ac5e8e200ce51827a3fb2c4b8887de1.tar.gz | |
config_schema_SUITE: Copy Cuttlefish schema in the testsuite data directory
We must do that instead of adding the plugins as test dependencies
because doing this introduces a circular dependency: all plugins depend
on rabbitmq-server.
With the circular dependency in place, the broker was compiled with
$(ERLC_OPTS) compiler flags, because the build was triggered by the
first plugin. Therefore we missed all the $(TEST_ERLC_OPTS) additions.
With the circular dependency fixed, the broker is again built with
$(TEST_ERLC_OPTIS): `src/truncate.erl` depends on the `-DTEST=1` flag.
In the longer term, we must move the testcases depending on the plugins'
schemas to their corresponding plugin.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -68,19 +68,6 @@ DEPS += $(DISTRIBUTED_DEPS) endif endif -# We need many plugins for their Cuttlefish schemas. -TEST_DEPS += rabbitmq_amqp1_0 \ - rabbitmq_auth_backend_amqp \ - rabbitmq_auth_backend_http \ - rabbitmq_auth_backend_ldap \ - rabbitmq_clusterer \ - rabbitmq_management \ - rabbitmq_metronome \ - rabbitmq_mqtt \ - rabbitmq_stomp \ - rabbitmq_web_mqtt \ - rabbitmq_web_stomp - # FIXME: Remove rabbitmq_test as TEST_DEPS from here for now. TEST_DEPS := amqp_client meck proper $(filter-out rabbitmq_test,$(TEST_DEPS)) |
