aboutsummaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-19 13:29:07 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-19 13:29:07 +0100
commit24c0969873d81b9a0ba55e59d71d8beb19db3bb2 (patch)
tree2d89436365c861231fee91da1c3efd60d53483fc /src/benchmark
parenta03e4fa72fad4c30bac9719fbfea39947f0bf646 (diff)
ensure Postgres CPPFLAGS are set before libgnunetpq check
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-bank-benchmark.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/benchmark/taler-bank-benchmark.c b/src/benchmark/taler-bank-benchmark.c
index e13ee520b..aebf65d52 100644
--- a/src/benchmark/taler-bank-benchmark.c
+++ b/src/benchmark/taler-bank-benchmark.c
@@ -583,7 +583,8 @@ parallel_benchmark (void)
"taler-exchange-wirewatch",
"taler-exchange-wirewatch",
"-c", cfg_filename,
- "-L", loglev,
+ (NULL != loglev) ? "-L" : NULL,
+ loglev,
NULL);
if (NULL == wirewatch[w])
{
@@ -659,8 +660,9 @@ parallel_benchmark (void)
"taler-exchange-wirewatch",
"taler-exchange-wirewatch",
"-c", cfg_filename,
- "-L", loglev,
"-t",
+ (NULL != loglev) ? "-L" : NULL,
+ loglev,
NULL);
/* wait for it to finish! */
GNUNET_break (GNUNET_OK ==
@@ -684,8 +686,9 @@ parallel_benchmark (void)
"taler-exchange-wirewatch",
"taler-exchange-wirewatch",
"-c", cfg_filename,
- "-L", loglev,
"-t",
+ (NULL != loglev) ? "-L" : NULL,
+ loglev,
NULL);
/* wait for it to finish! */
GNUNET_break (GNUNET_OK ==