aboutsummaryrefslogtreecommitdiff
path: root/qa/pull-tester/pull-tester.sh
blob: 3fe4a05c765ef6ebef1a35a91a38d4bd50fc68e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# Copyright (c) 2013-2014 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Helper script for pull-tester.
#Param 1: path to bitcoin srcroot
#Param ...: arguments for build-test.sh

if [ $# -lt 1 ]; then
  echo "usage: $0 [bitcoin srcroot] build-test arguments..."
fi

killall -q bitcoin-cli
killall -q bitcoind

cd $1
shift

./autogen.sh
./configure
./qa/pull-tester/build-tests.sh "$@"