⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 按照官方的说法:Cairo is a vector graphics library with cross-device output support. 翻译过来
💻
字号:
Regression test suite for cairo.Using this test should be as simple as running:	make checkassuming that the cairo distribution in the directory above has beenconfigured and built. The test suite here goes through some effort torun against the locally compiled library rather than any installedversion.The test suite needs to be run before any code is committed and beforeany release. Here are the rules governing the use of the suite:Before committing-----------------All tests should return a result of PASS or XFAIL. The XFAIL resultsindicate known bugs. The final message should be one of the following:	All XX tests behaved as expected (YY expected failures)	All XX tests passedIf any tests have a status of FAIL, then the new code has caused aregression error which should be fixed before the code is committed.When a new bug is found-----------------------A new test case should be added by imitating the style of an existingtest. This means adding the following files:	new_bug.c	new_bug-ref.pngWhere new_bug.c is a minimal program to demonstrate the bug, followingthe style of existing tests. The new_bug-ref.png image should containthe desired result of new_bug.c if the bug were fixed.Makefile.am should be edited, adding new_bug.c to both the TESTS andXFAIL_TESTS lists.When a new feature is added---------------------------It's important for the regression suite to keep pace with developmentof the library. So a new test should be added for each newfeature. The work involved is similar the work described above for newbugs. The only distinction is that the test is expected to pass so itshould not be added to the XFAIL_TESTS list.When a bug is fixed-------------------The fix should be verified by running the test suite which shouldresult in an "unexpected pass" for the test of interest. Rejoice asappropriate, then remove the relevant file name from the XFAIL_TESTSvariable in Makefile.am.Before releasing----------------All tests should return a result of PASS meaning all known bugs arefixed, resulting in the happy message:	All XX tests passed

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -