Skip to content

Commit

Permalink
uniprops 24
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 6, 2023
1 parent 063e98f commit 4146140
Show file tree
Hide file tree
Showing 20 changed files with 579 additions and 5 deletions.
14 changes: 14 additions & 0 deletions MANIFEST
Expand Up @@ -6328,6 +6328,20 @@ t/re/uniprops07.t Test unicode \p{} regex constructs
t/re/uniprops08.t Test unicode \p{} regex constructs
t/re/uniprops09.t Test unicode \p{} regex constructs
t/re/uniprops10.t Test unicode \p{} regex constructs
t/re/uniprops11.t Test unicode \p{} regex constructs
t/re/uniprops12.t Test unicode \p{} regex constructs
t/re/uniprops13.t Test unicode \p{} regex constructs
t/re/uniprops14.t Test unicode \p{} regex constructs
t/re/uniprops15.t Test unicode \p{} regex constructs
t/re/uniprops16.t Test unicode \p{} regex constructs
t/re/uniprops17.t Test unicode \p{} regex constructs
t/re/uniprops18.t Test unicode \p{} regex constructs
t/re/uniprops19.t Test unicode \p{} regex constructs
t/re/uniprops20.t Test unicode \p{} regex constructs
t/re/uniprops21.t Test unicode \p{} regex constructs
t/re/uniprops22.t Test unicode \p{} regex constructs
t/re/uniprops23.t Test unicode \p{} regex constructs
t/re/uniprops24.t Test unicode \p{} regex constructs
t/re/user_prop_race_thr.t Test races in user-defined \p{} under threads
t/README Instructions for regression tests
t/run/cloexec.t Test close-on-exec.
Expand Down
2 changes: 1 addition & 1 deletion charclass_invlists.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/unicore/mktables
Expand Up @@ -19083,7 +19083,7 @@ EOF_CODE
# Cause there to be 'if' statements to only execute a portion of this
# long-running test each time, so that we can have a bunch of .t's running
# in parallel
my $chunks = 10 # Number of test files
my $chunks = 24 # Number of test files
- 1 # For GCB & SB
- 1 # For WB
- 4; # LB split into this many files
Expand Down
2 changes: 1 addition & 1 deletion lib/unicore/uni_keywords.pl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion regcharclass.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions t/re/uniprops11.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops12.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops13.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops14.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops15.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops16.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops17.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0
40 changes: 40 additions & 0 deletions t/re/uniprops18.t
@@ -0,0 +1,40 @@
use strict;
use warnings;
no warnings 'once';

if ($^O eq 'dec_osf') {
print "1..0 # $^O cannot handle this test\n";
exit(0);
}

# TODO: it would be good to have watchdog(5 * 60) in here
# for slow machines, but unfortunately we cannot trivially
# use test.pl because the TestProp.pl avoids using that.

# This is a wrapper for a generated file. Assumes being run from 't'
# directory.

# It is skipped by default under PERL_DEBUG_READONLY_COW, but you can run
# it directly via: cd t; ./perl -I../lib ../lib/unicore/TestProp.pl

require Config;
if ($Config::Config{ccflags} =~ /(?:^|\s)-DPERL_DEBUG_READONLY_COW\b/) {
print "1..0 # Skip PERL_DEBUG_READONLY_COW\n";
exit;
}

$::TESTCHUNK=10;
do '../lib/unicore/TestProp.pl';

# Since TestProp.pl explicitly exits, we will only get here if it
# could not load.
if (defined &DynaLoader::boot_DynaLoader # not miniperl
|| eval 'require "unicore/UCD.pl"' # or tables are built
) {
die "Could not run lib/unicore/TestProp.pl: ", $@||$!;
}
else {
print "1..0 # Skip Unicode tables not built yet\n";
}

0

0 comments on commit 4146140

Please sign in to comment.