mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-01-30 06:48:33 -06:00
The main thing that's added is full RS support, but a lot of things were rejigged along the way. The tests are still a bit lacking, and will be augmented in future commits.
29 lines
733 B
Bash
Executable File
29 lines
733 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu -o pipefail
|
|
|
|
echo "$(tput bold)building requisites$(tput sgr0)"
|
|
./cpp/build.py go rs crc32c # build libs for go
|
|
(cd go/msgs && go generate ./...) # build cpp files
|
|
|
|
echo "$(tput bold)go tests$(tput sgr0)"
|
|
(cd go && go test ./...)
|
|
|
|
./cpp/tests.sh
|
|
|
|
(cd go/integrationtest && go build .)
|
|
|
|
echo "$(tput bold)integration tests$(tput sgr0)"
|
|
set -x
|
|
./go/integrationtest/integrationtest
|
|
set +x
|
|
|
|
echo "$(tput bold)integration tests, sanitized, packet drop$(tput sgr0)"
|
|
set -x
|
|
./go/integrationtest/integrationtest -build-type sanitized -outgoing-packet-drop 0.1 -short
|
|
set +x
|
|
|
|
echo "$(tput bold)integration tests, valgrind$(tput sgr0)"
|
|
set -x
|
|
./go/integrationtest/integrationtest -build-type valgrind -short
|
|
set +x
|