Sanity check the test name and metrics

Some dashboards, and libraries don't support metrics name
other than word character. Add a check to make sure any change went
through would caught by CQ.

BUG=b:172227944
TEST=./vkbench

Change-Id: If9f5eb26f089a3b454d2cbca9c1d761557a44c62
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vkbench/+/2552100
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Po-Hsien Wang <pwang@chromium.org>
Auto-Submit: Po-Hsien Wang <pwang@chromium.org>
4 files changed
tree: 49f6959078c4f70e1324eaa05164c94bf217038e
  1. src/
  2. .gitignore
  3. CMakeLists.txt