diff --git a/llgo/libgo-check-failures.diff b/llgo/libgo-check-failures.diff new file mode 100644 index 000000000000..ac53aeefa580 --- /dev/null +++ b/llgo/libgo-check-failures.diff @@ -0,0 +1,40 @@ +diff --git a/libgo/Makefile.am b/libgo/Makefile.am +index 526b656..31c206e 100644 +--- a/libgo/Makefile.am ++++ b/libgo/Makefile.am +@@ -3688,7 +3688,6 @@ TEST_PACKAGES = \ + os/check \ + path/check \ + reflect/check \ +- regexp/check \ + runtime/check \ + sort/check \ + strconv/check \ +@@ -3787,7 +3786,6 @@ TEST_PACKAGES = \ + os/user/check \ + path/filepath/check \ + regexp/syntax/check \ +- runtime/pprof/check \ + sync/atomic/check \ + text/scanner/check \ + text/tabwriter/check \ +diff --git a/libgo/Makefile.in b/libgo/Makefile.in +index 2254478..d2482d1 100644 +--- a/libgo/Makefile.in ++++ b/libgo/Makefile.in +@@ -2193,7 +2193,6 @@ TEST_PACKAGES = \ + os/check \ + path/check \ + reflect/check \ +- regexp/check \ + runtime/check \ + sort/check \ + strconv/check \ +@@ -2292,7 +2291,6 @@ TEST_PACKAGES = \ + os/user/check \ + path/filepath/check \ + regexp/syntax/check \ +- runtime/pprof/check \ + sync/atomic/check \ + text/scanner/check \ + text/tabwriter/check \ diff --git a/llgo/third_party/gofrontend/libgo/Makefile.am b/llgo/third_party/gofrontend/libgo/Makefile.am index 526b656a3095..31c206e5e8ae 100644 --- a/llgo/third_party/gofrontend/libgo/Makefile.am +++ b/llgo/third_party/gofrontend/libgo/Makefile.am @@ -3688,7 +3688,6 @@ TEST_PACKAGES = \ os/check \ path/check \ reflect/check \ - regexp/check \ runtime/check \ sort/check \ strconv/check \ @@ -3787,7 +3786,6 @@ TEST_PACKAGES = \ os/user/check \ path/filepath/check \ regexp/syntax/check \ - runtime/pprof/check \ sync/atomic/check \ text/scanner/check \ text/tabwriter/check \ diff --git a/llgo/third_party/gofrontend/libgo/Makefile.in b/llgo/third_party/gofrontend/libgo/Makefile.in index 2254478aebe2..d2482d128cf6 100644 --- a/llgo/third_party/gofrontend/libgo/Makefile.in +++ b/llgo/third_party/gofrontend/libgo/Makefile.in @@ -2193,7 +2193,6 @@ TEST_PACKAGES = \ os/check \ path/check \ reflect/check \ - regexp/check \ runtime/check \ sort/check \ strconv/check \ @@ -2292,7 +2291,6 @@ TEST_PACKAGES = \ os/user/check \ path/filepath/check \ regexp/syntax/check \ - runtime/pprof/check \ sync/atomic/check \ text/scanner/check \ text/tabwriter/check \ diff --git a/llgo/update_third_party.sh b/llgo/update_third_party.sh index a35d315e6ba6..89c0ecd274d9 100755 --- a/llgo/update_third_party.sh +++ b/llgo/update_third_party.sh @@ -25,6 +25,8 @@ cp -r $gofrontenddir/LICENSE $gofrontenddir/libgo third_party/gofrontend # Apply a diff that eliminates use of the unnamed struct extension beyond what # -fms-extensions supports. (cd third_party/gofrontend && patch -p1) < libgo-noext.diff +# Apply a diff that disables testing of packages known to fail. +(cd third_party/gofrontend && patch -p1) < libgo-check-failures.diff find third_party/gofrontend -name '*.orig' -exec rm \{\} \; # Remove GPL licensed files.