aboutsummaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorMichal Nazarewicz2016-07-27 15:49:20 +0200
committerMichal Nazarewicz2016-08-02 15:39:10 +0200
commite7257061317c604492d20f26f312b9e925aa1860 (patch)
treeb97b451149e10e11774ac80ab6041965a8b5496f /test/src
parent7496844e7dd8b5c852df0b2525299d2dc9d71bb4 (diff)
downloademacs-e7257061317c604492d20f26f312b9e925aa1860.tar.gz
emacs-e7257061317c604492d20f26f312b9e925aa1860.zip
Split regex glibc test cases into separet tests
* test/src/regex-tests.el (regex-tests): Remove and split into multiple tests cases. (regex-tests-glbic-BOOST, regex-tests-glibc-PCRE, regex-tests-glibc-PTESTS, regex-tests-glibc-TESTS): New test cases split from ‘regex-tests’.
Diffstat (limited to 'test/src')
-rw-r--r--test/src/regex-tests.el24
1 files changed, 18 insertions, 6 deletions
diff --git a/test/src/regex-tests.el b/test/src/regex-tests.el
index 97b9633bada..cce0108f24b 100644
--- a/test/src/regex-tests.el
+++ b/test/src/regex-tests.el
@@ -651,12 +651,24 @@ differences in behavior.")
651 (error "Error parsing TESTS file line: '%s'" (buffer-string)))) 651 (error "Error parsing TESTS file line: '%s'" (buffer-string))))
652 failures)) 652 failures))
653 653
654(ert-deftest regex-tests () 654(ert-deftest regex-tests-BOOST ()
655 "Tests of the regular expression engine. This evaluates the 655 "Tests of the regular expression engine.
656BOOST, PCRE, PTESTS and TESTS test cases from glibc." 656This evaluates the BOOST test cases from glibc."
657 (should-not (regex-tests-BOOST)) 657 (should-not (regex-tests-BOOST)))
658 (should-not (regex-tests-PCRE)) 658
659 (should-not (regex-tests-PTESTS)) 659(ert-deftest regex-tests-PCRE ()
660 "Tests of the regular expression engine.
661This evaluates the PCRE test cases from glibc."
662 (should-not (regex-tests-PCRE)))
663
664(ert-deftest regex-tests-PTESTS ()
665 "Tests of the regular expression engine.
666This evaluates the PTESTS test cases from glibc."
667 (should-not (regex-tests-PTESTS)))
668
669(ert-deftest regex-tests-TESTS ()
670 "Tests of the regular expression engine.
671This evaluates the TESTS test cases from glibc."
660 (should-not (regex-tests-TESTS))) 672 (should-not (regex-tests-TESTS)))
661 673
662;;; regex-tests.el ends here 674;;; regex-tests.el ends here