File tree 4 files changed +31
-5
lines changed
4 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * This test is for Linux/glibc systems and others that implement proper
3
- * locale classification of Unicode characters with high code values .
2
+ * This test is for Linux/glibc systems (conceivably it could be run on
3
+ * others that implement proper classification of high Unicode characters) .
4
4
* It must be run in a database with UTF8 encoding and a Unicode-aware locale.
5
5
*/
6
+ SELECT getdatabaseencoding() <> 'UTF8' OR
7
+ current_setting('lc_ctype') = 'C' OR
8
+ version() !~ 'linux-gnu'
9
+ AS skip_test \gset
10
+ \if :skip_test
11
+ \quit
12
+ \endif
6
13
SET client_encoding TO UTF8;
7
14
--
8
15
-- Test the "high colormap" logic with single characters and ranges that
Original file line number Diff line number Diff line change
1
+ /*
2
+ * This test is for Linux/glibc systems (conceivably it could be run on
3
+ * others that implement proper classification of high Unicode characters).
4
+ * It must be run in a database with UTF8 encoding and a Unicode-aware locale.
5
+ */
6
+ SELECT getdatabaseencoding() <> 'UTF8' OR
7
+ current_setting('lc_ctype') = 'C' OR
8
+ version() !~ 'linux-gnu'
9
+ AS skip_test \gset
10
+ \if :skip_test
11
+ \quit
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ test: create_table_like alter_generic alter_operator misc async dbsize misc_func
94
94
# rules cannot run concurrently with any test that creates
95
95
# a view or rule in the public schema
96
96
# collate.*.utf8 tests cannot be run in parallel with each other
97
- test: rules psql psql_crosstab amutils stats_ext collate.linux.utf8
97
+ test: rules psql psql_crosstab amutils stats_ext collate.linux.utf8 regex.linux.utf8
98
98
99
99
# run by itself so it can run parallel workers
100
100
test: select_parallel
Original file line number Diff line number Diff line change 1
1
/*
2
- * This test is for Linux/glibc systems and others that implement proper
3
- * locale classification of Unicode characters with high code values .
2
+ * This test is for Linux/glibc systems (conceivably it could be run on
3
+ * others that implement proper classification of high Unicode characters) .
4
4
* It must be run in a database with UTF8 encoding and a Unicode-aware locale.
5
5
*/
6
6
7
+ SELECT getdatabaseencoding() <> ' UTF8' OR
8
+ current_setting(' lc_ctype' ) = ' C' OR
9
+ version() !~ ' linux-gnu'
10
+ AS skip_test \gset
11
+ \if :skip_test
12
+ \quit
13
+ \endif
14
+
7
15
SET client_encoding TO UTF8;
8
16
9
17
--
You can’t perform that action at this time.
0 commit comments