From f6fd7d3b0ff0f3bf2f3e00a41daae09e60805ade Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Thu, 12 Aug 2021 18:43:21 -0400 Subject: [PATCH] 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. --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 83623f08..8896010d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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//" \