Enable python tests for Native Windows
1) Multiplatorm support for devnull 2) Fixed a bug in the handling of cache files 3) Deleted run-bitcoin-cli as no longer needed
This commit is contained in:
@@ -5,8 +5,8 @@ CURDIR=$(cd $(dirname "$0"); pwd)
|
||||
# Get BUILDDIR and REAL_BITCOIND
|
||||
. "${CURDIR}/tests-config.sh"
|
||||
|
||||
export BITCOINCLI=${BUILDDIR}/qa/pull-tester/run-bitcoin-cli
|
||||
export BITCOIND=${REAL_BITCOIND}
|
||||
export BITCOINCLI=${REAL_BITCOINCLI}
|
||||
|
||||
#Run the tests
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This is a thin wrapper around bitcoin-cli that strips the Windows-style EOLs
|
||||
# from the output if present. It is necessary when using bitcoin-cli.exe on
|
||||
# Linux since shells will interpret the line-endings as part of the result.
|
||||
|
||||
CURDIR=$(cd $(dirname "$0"); pwd)
|
||||
# Get BUILDDIR and REAL_BITCOIND
|
||||
|
||||
# Grab the value of $REAL_BITCOINCLI which may be bitcoin-cli.exe.
|
||||
. "${CURDIR}/tests-config.sh"
|
||||
|
||||
"${REAL_BITCOINCLI}" "$@" | sed 's/\r//'
|
||||
Reference in New Issue
Block a user