This could be useful for very trivial proyects with just one test case.
echo -e '\tmutest_suite_name = "'"$suite"'";'
echo -e '\tmu_print(MU_SUITE, "\\nRunning suite \"'"$suite"'\"\\n");'
for symbol in `nm -p "$file" \
- | egrep '^[[:xdigit:]]{8} T mu_test_\w+$' \
+ | egrep '^[[:xdigit:]]{8} T mu_test\w*$' \
| cut -c12-`
do
echo -e "\tmu_run_case($symbol);"
return r
-case_names_re = re.compile(r'[0-9a-f]{8} T (mu_test_\w+)', re.I)
+case_names_re = re.compile(r'[0-9a-f]{8} T (mu_test\w*)', re.I)
def get_case_names(so_name):
proc = Popen(['nm', '-p', so_name], stdout=PIPE)