diff options
author | Ian Lance Taylor <iant@golang.org> | 2018-01-09 01:23:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-01-09 01:23:08 +0000 |
commit | 1a2f01efa63036a5104f203a4789e682c0e0915d (patch) | |
tree | 373e15778dc8295354584e1f86915ae493b604ff /libgo/go/unicode/script_test.go | |
parent | 8799df67f2dab88f9fda11739c501780a85575e2 (diff) | |
download | gcc-1a2f01efa63036a5104f203a4789e682c0e0915d.zip gcc-1a2f01efa63036a5104f203a4789e682c0e0915d.tar.gz gcc-1a2f01efa63036a5104f203a4789e682c0e0915d.tar.bz2 |
libgo: update to Go1.10beta1
Update the Go library to the 1.10beta1 release.
Requires a few changes to the compiler for modifications to the map
runtime code, and to handle some nowritebarrier cases in the runtime.
Reviewed-on: https://go-review.googlesource.com/86455
gotools/:
* Makefile.am (go_cmd_vet_files): New variable.
(go_cmd_buildid_files, go_cmd_test2json_files): New variables.
(s-zdefaultcc): Change from constants to functions.
(noinst_PROGRAMS): Add vet, buildid, and test2json.
(cgo$(EXEEXT)): Link against $(LIBGOTOOL).
(vet$(EXEEXT)): New target.
(buildid$(EXEEXT)): New target.
(test2json$(EXEEXT)): New target.
(install-exec-local): Install all $(noinst_PROGRAMS).
(uninstall-local): Uninstasll all $(noinst_PROGRAMS).
(check-go-tool): Depend on $(noinst_PROGRAMS). Copy down
objabi.go.
(check-runtime): Depend on $(noinst_PROGRAMS).
(check-cgo-test, check-carchive-test): Likewise.
(check-vet): New target.
(check): Depend on check-vet. Look at cmd_vet-testlog.
(.PHONY): Add check-vet.
* Makefile.in: Rebuild.
From-SVN: r256365
Diffstat (limited to 'libgo/go/unicode/script_test.go')
-rw-r--r-- | libgo/go/unicode/script_test.go | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libgo/go/unicode/script_test.go b/libgo/go/unicode/script_test.go index 1fe4581..7d760fc 100644 --- a/libgo/go/unicode/script_test.go +++ b/libgo/go/unicode/script_test.go @@ -14,8 +14,13 @@ type T struct { script string } -// Hand-chosen tests from Unicode 5.1.0, 6.0.0, 6.2.0, 6.3.0, 7.0.0 and 8.0.0 +// Hand-chosen tests from Unicode 5.1.0, 6.0.0, 6.2.0, 6.3.0, 7.0.0, 8.0.0, +// 9.0.0, 10.0.0. // mostly to discover when new scripts and categories arise. +// If this tests fails, add the missing scripts to the test and add entries +// of the form +// pkg unicode, var <new script> *RangeTable +// to api/next.txt. var inTest = []T{ {0x11711, "Ahom"}, {0x1e900, "Adlam"}, @@ -92,6 +97,7 @@ var inTest = []T{ {0x0843, "Mandaic"}, {0x10ac8, "Manichaean"}, {0x11cB6, "Marchen"}, + {0x11d59, "Masaram_Gondi"}, {0xabd0, "Meetei_Mayek"}, {0x1e800, "Mende_Kikakui"}, {0x1099f, "Meroitic_Hieroglyphs"}, @@ -106,6 +112,7 @@ var inTest = []T{ {0x11400, "Newa"}, {0x19c3, "New_Tai_Lue"}, {0x07f8, "Nko"}, + {0x1b170, "Nushu"}, {0x169b, "Ogham"}, {0x1c6a, "Ol_Chiki"}, {0x10C80, "Old_Hungarian"}, @@ -134,6 +141,7 @@ var inTest = []T{ {0x1D920, "SignWriting"}, {0x0dbd, "Sinhala"}, {0x110d0, "Sora_Sompeng"}, + {0x11a99, "Soyombo"}, {0x1ba3, "Sundanese"}, {0xa803, "Syloti_Nagri"}, {0x070f, "Syriac"}, @@ -155,6 +163,7 @@ var inTest = []T{ {0xa60e, "Vai"}, {0x118ff, "Warang_Citi"}, {0xa216, "Yi"}, + {0x11a0a, "Zanabazar_Square"}, } var outTest = []T{ // not really worth being thorough @@ -229,6 +238,7 @@ var inPropTest = []T{ {0x06DD, "Prepended_Concatenation_Mark"}, {0x300D, "Quotation_Mark"}, {0x2EF3, "Radical"}, + {0x1f1ff, "Regional_Indicator"}, {0x061F, "STerm"}, // Deprecated alias of Sentence_Terminal {0x061F, "Sentence_Terminal"}, {0x2071, "Soft_Dotted"}, |