Skip to content

Commit

Permalink
Update omnicore-rpc-tests.sh to use OMNIJ_BRANCH env variable to chec…
Browse files Browse the repository at this point in the history
…kout a custom branch/tag
  • Loading branch information
msgilligan committed Jul 7, 2023
1 parent 2c478a7 commit fe101b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/pull-tester/omnicore-rpc-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ DATADIR="$TESTDIR/.bitcoin"
# Start clean
rm -rf "$BUILDDIR/test/tmp"

git clone https://github.com/OmniLayer/OmniJ.git $TESTDIR
if [ -z "$OMNIJ_BRANCH" ]; then
OMNIJ_BRANCH="master";
fi

git clone --branch $OMNIJ_BRANCH https://github.com/OmniLayer/OmniJ.git $TESTDIR

mkdir -p "$DATADIR/regtest"
touch "$DATADIR/regtest/omnicore.log"
cd $TESTDIR || exit
Expand Down

0 comments on commit fe101b9

Please sign in to comment.