summaryrefslogtreecommitdiff
path: root/llgo
diff options
context:
space:
mode:
authorAndrew Wilkins <axwalk@gmail.com>2015-03-06 02:49:07 +0000
committerAndrew Wilkins <axwalk@gmail.com>2015-03-06 02:49:07 +0000
commitac58502ba202a589c40a8119988ef74280a05ab1 (patch)
tree5f364082da9c7cbbb936e7fd70cbad9505b1be84 /llgo
parent21bd71adc6deeea01a20b9df61f2ac60bbb182e0 (diff)
[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
Diffstat (limited to 'llgo')
-rw-r--r--llgo/libgo-check-failures.diff40
-rw-r--r--llgo/third_party/gofrontend/libgo/Makefile.am2
-rw-r--r--llgo/third_party/gofrontend/libgo/Makefile.in2
-rwxr-xr-xllgo/update_third_party.sh2
4 files changed, 42 insertions, 4 deletions
diff --git a/llgo/libgo-check-failures.diff b/llgo/libgo-check-failures.diff
new file mode 100644
index 00000000000..ac53aeefa58
--- /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 526b656a309..31c206e5e8a 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 2254478aebe..d2482d128cf 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 a35d315e6ba..89c0ecd274d 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.