diff --git a/golang.spec b/golang.spec index 5e8e36eb32c4e309caaabb9fd9d8c4226e8ab274..64341fa7d9e269960c6f5d14e476b08c946226fe 100644 --- a/golang.spec +++ b/golang.spec @@ -12,11 +12,6 @@ %define __find_requires %{nil} %bcond_with bootstrap -%ifarch x86_64 aarch64 riscv64 -%bcond_without ignore_tests -%else -%bcond_with ignore_tests -%endif %ifarch x86_64 aarch64 riscv64 %global external_linker 1 @@ -36,12 +31,6 @@ %global golang_bootstrap 1 %endif -%if %{with ignore_tests} -%global fail_on_tests 0 -%else -%global fail_on_tests 1 -%endif - %global shared 0 %ifarch x86_64 @@ -62,7 +51,7 @@ Name: golang Version: 1.19.4 -Release: 1 +Release: 2 Summary: The Go Programming Language License: BSD and Public Domain URL: https://golang.org/ @@ -339,11 +328,7 @@ export CGO_ENABLED=0 export GO_TEST_TIMEOUT_SCALE=2 -%if %{fail_on_tests} -echo tests ignored -%else -./run.bash --no-rebuild -v -v -v -k go_test:testing || : -%endif +./run.bash --no-rebuild -v -v -v -k -run=!"^go_test:(cmd/go|cmd/link/internal/ld|cmd/nm)" cd .. %post @@ -387,6 +372,8 @@ fi %files devel -f go-tests.list -f go-misc.list -f go-src.list %changelog +* Sat Feb 25 2023 hanchao - 1.19.4-2 +- add golang package test * Tue Jan 10 2023 hanchao - 1.19.4-1 - upgrade to 1.19.4