Files
ternfs-XTXMarkets/tests.sh
Francesco Mazzoli 5bff9b8fae Many, many changes -- tests pass, but FUSE is currently not present
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.
2023-03-03 16:42:22 +00:00

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