alsa_conformance_test: Add script to test basic function automatically

This script can check the basic function of one pcm device.

We have one basic test in this change:

Test Params - Check whether all params supported by pcm device can be
set correctly.

BUG=chromium:685077
TEST=alsa_conformace_test.py hw:0,0 PLAYBACK
CQ-DEPEND=CL:1339279

Change-Id: Ic592e6ce8ade37ef3724246f09d30fecbb7d7fd7
Reviewed-on: https://chromium-review.googlesource.com/1338782
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
2 files changed