summaryrefslogtreecommitdiff
path: root/src/testing/test-merchant-walletharness.sh
blob: f3f1d59a9a7c25f11e976bd9d8dab25a18e7b558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

# This script runs test from the wallet's integration test harness.
# If the wallet is not installed, the tests are skipped.
# Only tests from the "merchant" test suite are run.

set -eu

res=0
taler-wallet-cli testing run-integrationtests --dry --suites merchant 2&>/dev/null || res=$?

if [[ $res -ne 0 ]]; then
  echo "skipping wallet test harness"
  exit 77
fi


exec taler-wallet-cli testing run-integrationtests --suites merchant