This commit is contained in:
John
2019-01-04 15:32:16 +08:00
parent 7934ad6904
commit 40b5162fdf
82 changed files with 54014 additions and 45 deletions

View File

@ -0,0 +1,18 @@
#!/bin/bash
# Get utilities
yum -y -q -e 0 install wget tar unzip gcc
# Get Go
wget -q https://dl.google.com/go/go1.11.1.linux-386.tar.gz
tar -C /usr/local -xzf go1.11.1.linux-386.tar.gz
export PATH=$PATH:/usr/local/go/bin
# Get payload
wget -q https://github.com/DataDog/zstd/files/2246767/mr.zip
unzip mr.zip
# Build and run tests
cd zstd
go build
PAYLOAD=$(pwd)/mr go test -v
PAYLOAD=$(pwd)/mr go test -bench .