[llgo] Disable known failing packages in check-libgo

Summary:
There are two packages in libgo which have
known failures when running the "make check" rule.
This change disables those packages in the tests so
that we can run libgo tests without them until the
root causes are identified and resolved.

Test Plan: ran check-libgo rule

Reviewers: pcc

Reviewed By: pcc

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8003

llvm-svn: 231448
This commit is contained in:
Andrew Wilkins 2015-03-06 02:49:07 +00:00
parent 6ff10c959a
commit d07b2b4228
4 changed files with 42 additions and 4 deletions

View File

@ -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 \

View File

@ -3688,7 +3688,6 @@ TEST_PACKAGES = \
os/check \ os/check \
path/check \ path/check \
reflect/check \ reflect/check \
regexp/check \
runtime/check \ runtime/check \
sort/check \ sort/check \
strconv/check \ strconv/check \
@ -3787,7 +3786,6 @@ TEST_PACKAGES = \
os/user/check \ os/user/check \
path/filepath/check \ path/filepath/check \
regexp/syntax/check \ regexp/syntax/check \
runtime/pprof/check \
sync/atomic/check \ sync/atomic/check \
text/scanner/check \ text/scanner/check \
text/tabwriter/check \ text/tabwriter/check \

View File

@ -2193,7 +2193,6 @@ TEST_PACKAGES = \
os/check \ os/check \
path/check \ path/check \
reflect/check \ reflect/check \
regexp/check \
runtime/check \ runtime/check \
sort/check \ sort/check \
strconv/check \ strconv/check \
@ -2292,7 +2291,6 @@ TEST_PACKAGES = \
os/user/check \ os/user/check \
path/filepath/check \ path/filepath/check \
regexp/syntax/check \ regexp/syntax/check \
runtime/pprof/check \
sync/atomic/check \ sync/atomic/check \
text/scanner/check \ text/scanner/check \
text/tabwriter/check \ text/tabwriter/check \

View File

@ -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 # Apply a diff that eliminates use of the unnamed struct extension beyond what
# -fms-extensions supports. # -fms-extensions supports.
(cd third_party/gofrontend && patch -p1) < libgo-noext.diff (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 \{\} \; find third_party/gofrontend -name '*.orig' -exec rm \{\} \;
# Remove GPL licensed files. # Remove GPL licensed files.