Update to latest clar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
diff --git a/tests-clar/clar b/tests-clar/clar
index 873dc3b..4a9949c 100755
--- a/tests-clar/clar
+++ b/tests-clar/clar
@@ -2,7 +2,7 @@
from __future__ import with_statement
from string import Template
-import re, fnmatch, os
+import re, fnmatch, os, codecs
VERSION = "0.10.0"
@@ -16,6 +16,8 @@ SKIP_COMMENTS_REGEX = re.compile(
r'//.*?$|/\*.*?\*/|\'(?:\\.|[^\\\'])*\'|"(?:\\.|[^\\"])*"',
re.DOTALL | re.MULTILINE)
+CATEGORY_REGEX = re.compile(r"CL_IN_CATEGORY\(\s*\"([^\"]+)\"\s*\)")
+
CLAR_HEADER = """
/*
* Clar v%s
@@ -57,6 +59,7 @@ class ClarTestBuilder:
self.suite_names = []
self.callback_data = {}
self.suite_data = {}
+ self.category_data = {}
self.event_callbacks = []
self.clar_path = os.path.abspath(clar_path) if clar_path else None
@@ -65,7 +68,8 @@ class ClarTestBuilder:
self.modules = [
"clar_sandbox.c",
"clar_fixtures.c",
- "clar_fs.c"
+ "clar_fs.c",
+ "clar_categorize.c",
]
self.modules.append("clar_print_%s.c" % print_mode)
@@ -82,7 +86,7 @@ class ClarTestBuilder:
full_path = os.path.join(root, test_file)
test_name = "_".join(module_root + [test_file[:-2]])
- with open(full_path) as f:
+ with codecs.open(full_path, 'r', 'utf-8') as f:
self._process_test_file(test_name, f.read())
if not self.suite_data:
@@ -115,6 +119,7 @@ r"""
"${clean_name}",
${initialize},
${cleanup},
+ ${categories},
${cb_ptr}, ${cb_count}
}
""")
@@ -124,11 +129,17 @@ r"""
callbacks[cb] = (self._render_cb(suite[cb])
if suite[cb] else "{NULL, NULL}")
+ if len(self.category_data[suite['name']]) > 0:
+ cats = "_clar_cat_%s" % suite['name']
+ else:
+ cats = "NULL"
+
return template.substitute(
suite_index = index,
clean_name = suite['name'].replace("_", "::"),
initialize = callbacks['initialize'],
cleanup = callbacks['cleanup'],
+ categories = cats,
cb_ptr = "_clar_cb_%s" % suite['name'],
cb_count = suite['cb_count']
).strip()
@@ -151,6 +162,19 @@ static const struct clar_func _clar_cb_${suite_name}[] = {
callbacks = ",\n\t".join(callbacks)
).strip()
+ def _render_categories(self, suite_name, categories):
+ template = Template(
+r"""
+static const char *_clar_cat_${suite_name}[] = { "${categories}", NULL };
+""")
+ if len(categories) > 0:
+ return template.substitute(
+ suite_name = suite_name,
+ categories = '","'.join(categories)
+ ).strip()
+ else:
+ return ""
+
def _render_event_overrides(self):
overrides = []
for event in CLAR_EVENTS:
@@ -193,9 +217,15 @@ static const struct clar_func _clar_cb_${suite_name}[] = {
len(cbs) for cbs in self.callback_data.values()
)
+ categories = [
+ self._render_categories(s, self.category_data[s])
+ for s in suite_names
+ ]
+
return template.substitute(
clar_modules = self._get_modules(),
clar_callbacks = "\n".join(callbacks),
+ clar_categories = "".join(categories),
clar_suites = ",\n\t".join(suite_data),
clar_suite_count = len(suite_data),
clar_callback_count = callback_count,
@@ -236,6 +266,7 @@ static const struct clar_func _clar_cb_${suite_name}[] = {
self._process_events(contents)
self._process_declarations(suite_name, contents)
+ self._process_categories(suite_name, contents)
def _process_events(self, contents):
for (decl, event) in EVENT_CB_REGEX.findall(contents):
@@ -296,16 +327,20 @@ static const struct clar_func _clar_cb_${suite_name}[] = {
print(" %s (%d tests)" % (suite_name, tests_in_suite))
+ def _process_categories(self, suite_name, contents):
+ self.category_data[suite_name] = [
+ cat for cat in CATEGORY_REGEX.findall(contents) ]
CLAR_FILES =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