Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有办法在pg安装完成后,再重新跑pg的回归测试呢 #126

Open
cybors opened this issue Dec 23, 2024 · 2 comments
Open

Comments

@cybors
Copy link

cybors commented Dec 23, 2024

德哥,您好,看了 https://github.com/digoal/blog/blob/master/201509/20150907_04.md

如何在安装完pg后再跑pg的test文件夹中的测试用例,看到里面有多种格式的用例,想要整体跑一下,并输出一个报告。

authentication/
Tests for authentication

examples/
Demonstration programs for libpq that double as regression tests via
"make check"

isolation/
Tests for concurrent behavior at the SQL level

locale/
Sanity checks for locale data, encodings, etc

mb/
Tests for multibyte encoding (UTF-8) support

modules/
Extensions used only or mainly for test purposes, generally not suitable
for installing in production databases

perl/
Infrastructure for Perl-based TAP tests

recovery/
Test suite for recovery and replication

regress/
PostgreSQL's main regression test suite, pg_regress

ssl/
Tests to exercise and verify SSL certificate handling

subscription/
Tests for logical replication

thread/
A thread-safety-testing utility used by configure

@digoal
Copy link
Owner

digoal commented Dec 30, 2024

可以啊, 这个测试会创建一个单独的数据库来跑

@cybors
Copy link
Author

cybors commented Dec 31, 2024

可以啊, 这个测试会创建一个单独的数据库来跑

我的意思是比如PolarDB 迭代了一个版本,为了测试与PG原生的兼容性,想要对PG原生的测试用例全部跑一遍。有没有办法可以将这些用例封装到一起,可以更加方便的跑PG的原生测试用例呢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants