lib/string: add `Text::escape_to_mk` to escape to Makefiles

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: escape the binary name in generated Makefile

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: escape function names in `c_functions_hash.c`

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: global compiler escape the module name

Signed-off-by: Jean Privat <jean@pryen.org>
tests: make tests.sh more robust

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: copy the binary if the outpath is crazy and cannot used in Makefile

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add `xmlesc` to escape XML in generated XML reports.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add "--base_very bad name@1&$|;:.ext'\"<>{}`~!#^*()_=+[]\\,?.nit"

That is a module with a very bad name

Signed-off-by: Jean Privat <jean@pryen.org>
tests: also robustize `search_tests.sh`

Signed-off-by: Jean Privat <jean@pryen.org>
Merge: More escaping

compiler is more robust.

The only issue seems to be the Makefile since there is no way to have an arbitrary named goal.

Pull-Request: #899
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>