X-Git-Url: https://git.llucax.com/software/mutest.git/blobdiff_plain/19e0ee8728c9e3cfc80e2fe84c2d1ff81b0dd0b9..7eebf98ef024cd90464022597680c376eb475098:/mkmutest diff --git a/mkmutest b/mkmutest index 763cc92..8806987 100755 --- a/mkmutest +++ b/mkmutest @@ -34,7 +34,7 @@ for file in "$@" do pr_file=`echo "$file" | sed 's/\"/\\\\\"/g'` suite=`basename "$file" .o | sed 's/\"/\\\\\"/g'` - symbols=`nm "$file" | egrep '^[[:xdigit:]]{8} T mu_\w+$' | cut -c12-` + symbols=`nm "$file" | egrep '^[[:xdigit:]]+ T mu_\w+$' | cut -d' ' -f3` tests=`echo "$symbols" | egrep '^mu_test'` inits=`echo "$symbols" | egrep '^mu_init'` terms=`echo "$symbols" | egrep '^mu_term'`