[build] Enable building the dev-tools for functional tests

- Factor out the dev-tools into a stand-alone, no-installed program
- Built the dev-tools if --enable-testing is specified
- Remove the --enable-dev-tools configure option
- Allow suffix on the binary name
- Update symlinks
- Cleanup Makefile
This commit is contained in:
Ming-Hung Tsai
2021-01-11 14:44:06 +08:00
parent 8d59a83f7c
commit 6a2fa73924
17 changed files with 132 additions and 106 deletions

View File

@@ -47,7 +47,7 @@ application::run(int argc, char **argv)
{
string cmd = get_basename(argv[0]);
if (cmd == string("pdata_tools")) {
if (cmd.find("pdata_tools") == 0) {
argc--;
argv++;