commit ff340f8ba15a9f163e511c4735d1faa11b971a84
parent 9f53ecdd5f4b36bc00d88f3c9f8d5b6ac20969f4
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 10 Jun 2019 22:12:58 +0200
Twister NOT a exchange's dependency anymore.
Diffstat:
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/taler-build/Makefile b/taler-build/Makefile
@@ -18,17 +18,7 @@ deployment-stamp:
${BASE}/update_deployment.sh
touch $@
-# NOTE: the twister _does_ depend on the exchange;
-# in particular it depends on the testing API offered
-# by the exchange. However, putting the exchange
-# among the twister dependencies will cause circular
-# dependency. Since it is the exchange depending "more"
-# on the twister, we choose to NOT include the exchange
-# as a twister dependency, and rather manually fix
-# the situation whenever the twister will fail to
-# build due to exchange's API breaks.
-
-twister-stamp: gnunet-stamp deployment-stamp
+twister-stamp: gnunet-stamp deployment-stamp exchange-stamp
${BASE}/update_twister.sh
touch $@
@@ -36,8 +26,14 @@ backoffice-stamp:
${BASE}/update_backoffice.sh
touch $@
-# depends on bank due to bank-lib testcase
-exchange-stamp: gnunet-stamp deployment-stamp bank-stamp twister-stamp
+# depends on bank due to bank-lib testcase. Note: twister
+# is partially a exchange's dependency because it's used to
+# run its "twisted" tests. However, to avoid circular dependency
+# we don't make the exchange's build dependent on the twister.
+# The only effect is that on the very first compilation (the
+# one after a new bootstrap), the exchange won't run the "twisted"
+# tests.
+exchange-stamp: gnunet-stamp deployment-stamp bank-stamp
${BASE}/update_exchange.sh
touch $@