Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6b77e3a

Browse files
committed
Forgot commit: support for special-cases in pgcrypto
1 parent3024b0a commit6b77e3a

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

‎src/tools/msvc/getregress.pl

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Script that collects a list of regression tests from a Makefile
33
#
4-
# $PostgreSQL: pgsql/src/tools/msvc/getregress.pl,v 1.1 2007/03/22 13:43:02 mha Exp $
4+
# $PostgreSQL: pgsql/src/tools/msvc/getregress.pl,v 1.2 2007/03/23 10:05:34 mha Exp $
55
#
66
use strict;
77
use warnings;
@@ -18,5 +18,29 @@
1818
{
1919
my$t =$1;
2020
$t =~s/\s+//g;
21+
22+
if ($m =~/contrib\/pgcrypto/)
23+
{
24+
25+
# pgcrypto is special since the tests depend on the configuration of the build
26+
our$config;
27+
require'../../src/tools/msvc/config.pl';
28+
29+
my$cftests =$config->{openssl}?GetTests("OSSL_TESTS",$m):GetTests("INT_TESTS",$m);
30+
my$pgptests =$config->{zlib}?GetTests("ZLIB_TST",$m):GetTests("ZLIB_OFF_TST",$m);
31+
$t =~s/\$\(CF_TESTS\)/$cftests/;
32+
$t =~s/\$\(CF_PGP_TESTS\)/$pgptests/;
33+
}
2134
print"SET TESTS=$t";
2235
}
36+
37+
subGetTests
38+
{
39+
my$testname =shift;
40+
my$m =shift;
41+
if ($m =~/^$testname\s*=\s*(.*)$/gm)
42+
{
43+
return$1;
44+
}
45+
return"";
46+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp