mktables: Some tests are invalid
authorKarl Williamson <khw@cpan.org>
Wed, 25 Jul 2018 02:12:24 +0000 (20:12 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 3 Aug 2018 18:55:11 +0000 (12:55 -0600)
These tests have been wrongly passing.  A future commit will change
that.

charclass_invlists.h
lib/unicore/mktables
regcharclass.h
uni_keywords.h

index 5100f2f..9965fbe 100644 (file)
@@ -383417,7 +383417,7 @@ static const U8 WB_table[23][23] = {
  * 018e20fa2f469667cc7ccd8a3d4a4a8cce8ad9bdf5fce5b2f61137660ea1065f lib/unicore/extracted/DLineBreak.txt
  * 88c30a794011f5e6dc62154342e8bab1bd4ce2d0c0ab06fb69ba47134dc75b23 lib/unicore/extracted/DNumType.txt
  * dab1e84f48990e30635a4f489d33212b25d0e35d80839c08e33a8afe5736346c lib/unicore/extracted/DNumValues.txt
- * 0a61cd4ac3905101bc423925b6e73844724515ba3943c7b917ab222f13691782 lib/unicore/mktables
+ * 63f4f8e66cba85b3b52bc4a37548c2efa300549222039a43756318114e8038c3 lib/unicore/mktables
  * 7bd6bcbe3813e0cd55e0998053d182b7bc8c97dcfd0b85028e9f7f55af4ad61b lib/unicore/version
  * 4bb677187a1a64e39d48f2e341b5ecb6c99857e49d7a79cf503bd8a3c709999b regen/charset_translations.pl
  * 03e51b0f07beebd5da62ab943899aa4934eee1f792fa27c1fb638c33bf4ac6ea regen/mk_PL_charclass.pl
index 56cddbb..38f5c9f 100644 (file)
@@ -19141,6 +19141,11 @@ EOF_CODE
                 # already guaranteed to be in error
                 my $already_error = ! $table->file_path;
 
+                # A table that begins with these could actually be a
+                # user-defined property, so won't be compile time errors, as
+                # the definitions of those can be deferred until runtime
+                next if $already_error && $table_name =~ / ^ I[ns] /x;
+
                 # Generate error cases for this alias.
                 push @output, generate_error($property_name,
                                              $table_name,
index a86207a..5240fdc 100644 (file)
  * 018e20fa2f469667cc7ccd8a3d4a4a8cce8ad9bdf5fce5b2f61137660ea1065f lib/unicore/extracted/DLineBreak.txt
  * 88c30a794011f5e6dc62154342e8bab1bd4ce2d0c0ab06fb69ba47134dc75b23 lib/unicore/extracted/DNumType.txt
  * dab1e84f48990e30635a4f489d33212b25d0e35d80839c08e33a8afe5736346c lib/unicore/extracted/DNumValues.txt
- * 0a61cd4ac3905101bc423925b6e73844724515ba3943c7b917ab222f13691782 lib/unicore/mktables
+ * 63f4f8e66cba85b3b52bc4a37548c2efa300549222039a43756318114e8038c3 lib/unicore/mktables
  * 7bd6bcbe3813e0cd55e0998053d182b7bc8c97dcfd0b85028e9f7f55af4ad61b lib/unicore/version
  * 4bb677187a1a64e39d48f2e341b5ecb6c99857e49d7a79cf503bd8a3c709999b regen/charset_translations.pl
  * f4fe24c2a005b636f6e7418df060c6c9a57ddcae4219b54d0cb18baf312dbc3a regen/regcharclass.pl
index bd0e3a5..61aa62c 100644 (file)
@@ -6990,7 +6990,7 @@ MPH_VALt match_uniprop( const unsigned char * const key, const U16 key_len ) {
  * 018e20fa2f469667cc7ccd8a3d4a4a8cce8ad9bdf5fce5b2f61137660ea1065f lib/unicore/extracted/DLineBreak.txt
  * 88c30a794011f5e6dc62154342e8bab1bd4ce2d0c0ab06fb69ba47134dc75b23 lib/unicore/extracted/DNumType.txt
  * dab1e84f48990e30635a4f489d33212b25d0e35d80839c08e33a8afe5736346c lib/unicore/extracted/DNumValues.txt
- * 0a61cd4ac3905101bc423925b6e73844724515ba3943c7b917ab222f13691782 lib/unicore/mktables
+ * 63f4f8e66cba85b3b52bc4a37548c2efa300549222039a43756318114e8038c3 lib/unicore/mktables
  * 7bd6bcbe3813e0cd55e0998053d182b7bc8c97dcfd0b85028e9f7f55af4ad61b lib/unicore/version
  * 4bb677187a1a64e39d48f2e341b5ecb6c99857e49d7a79cf503bd8a3c709999b regen/charset_translations.pl
  * 03e51b0f07beebd5da62ab943899aa4934eee1f792fa27c1fb638c33bf4ac6ea regen/mk_PL_charclass.pl