bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24071: [PATCH 5/7] Split regex glibc test cases into separet tests


From: Michal Nazarewicz
Subject: bug#24071: [PATCH 5/7] Split regex glibc test cases into separet tests
Date: Wed, 27 Jul 2016 18:50:45 +0200

* test/src/regex-tests.el (regex-tests): Remove and split into multiple
tests cases.
(regex-tests-glbic-BOOST, regex-tests-glibc-BOOST,
regex-tests-glibc-PTESTS, regex-tests-glibc-TESTS): New test cases split
from ‘regex-tests’.
---
 test/src/regex-tests.el | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/test/src/regex-tests.el b/test/src/regex-tests.el
index 97b9633..8981267 100644
--- a/test/src/regex-tests.el
+++ b/test/src/regex-tests.el
@@ -651,12 +651,24 @@ regex-tests-TESTS
        (error "Error parsing TESTS file line: '%s'" (buffer-string))))
     failures))
 
-(ert-deftest regex-tests ()
-  "Tests of the regular expression engine.  This evaluates the
-BOOST, PCRE, PTESTS and TESTS test cases from glibc."
-  (should-not (regex-tests-BOOST))
-  (should-not (regex-tests-PCRE))
-  (should-not (regex-tests-PTESTS))
+(ert-deftest regex-tests-BOOST ()
+  "Tests of the regular expression engine.
+This evaluates the BOOST test cases from glibc."
+  (should-not (regex-tests-BOOST)))
+
+(ert-deftest regex-tests-BOOST ()
+  "Tests of the regular expression engine.
+This evaluates the PCRE test cases from glibc."
+  (should-not (regex-tests-PCRE)))
+
+(ert-deftest regex-tests-PTESTS ()
+  "Tests of the regular expression engine.
+This evaluates the PTESTS test cases from glibc."
+  (should-not (regex-tests-PTESTS)))
+
+(ert-deftest regex-tests-TESTS ()
+  "Tests of the regular expression engine.
+This evaluates the TESTS test cases from glibc."
   (should-not (regex-tests-TESTS)))
 
 ;;; regex-tests.el ends here
-- 
2.8.0.rc3.226.g39d4020






reply via email to

[Prev in Thread] Current Thread [Next in Thread]