1
mirror of https://github.com/rclone/rclone synced 2024-12-01 10:31:57 +01:00
rclone/bin/bisect-go-rclone.sh

24 lines
382 B
Bash
Raw Normal View History

#!/bin/bash
# An example script to run when bisecting go with git bisect -run when
# looking for an rclone regression
# Run this from the go root
set -e
# Compile the go version
cd src
2018-09-18 21:12:27 +02:00
./make.bash || exit 125
# Make sure we are using it
source ~/bin/use-go1.11
go version
# Compile rclone
cd ~/go/src/github.com/rclone/rclone
make
# run the failing test
go run -race race.go