Add selftest for substitute_path_component
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 16 Mar 2018 02:01:56 +0000 (22:01 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 16 Mar 2018 02:04:42 +0000 (22:04 -0400)
commit03afa6ef8ac9e5acfa68b1005aec6756eaa1d093
treebdd0b27da48c5d2e1b1ce2c5792dc626dd42588e
parentacc834c7ab79521fe06f9851c24138f25b767092
Add selftest for substitute_path_component

This patch add some unit tests for the substitute_path_component
function.

gdb/ChangeLog:

* Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
unittests/utils-selftests.c.
* unittests/utils-selftests.c: New file.
gdb/ChangeLog
gdb/Makefile.in
gdb/unittests/utils-selftests.c [new file with mode: 0644]