tests: Remove hardcoded CC=gcc from run_tests.sh.
This environment variable was preventing the script from running properly on OpenBSD. GCC is no longer provided in base on several architectures, and GCC installed from packages is named 'egcc' to not conflict with base GCC provided by the other architectures which still require that toolchain.
This commit is contained in:
parent
2994f0ff44
commit
f6fd7d3b0f
@ -22,7 +22,7 @@ ROOTPATHPATTERN=$(echo $ROOTPATH | sed 's/\\/\\\\/g' | sed 's/\//\\\//g')
|
||||
MODPATHS=$(go list -m all | grep "^$ROOTPATHPATTERN" | cut -d' ' -f1)
|
||||
for module in $MODPATHS; do
|
||||
echo "==> ${module}"
|
||||
env CC=gcc go test -short -tags rpctest ${module}/...
|
||||
go test -short -tags rpctest ${module}/...
|
||||
|
||||
# check linters
|
||||
MODNAME=$(echo $module | sed -E -e "s/^$ROOTPATHPATTERN//" \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user