Making the unit tests more robust.
authorEhsan Nasiri <ehsann@google.com>
Mon, 23 Jan 2017 23:31:14 +0000 (18:31 -0500)
committerDavid Neto <dneto@google.com>
Mon, 30 Jan 2017 03:50:37 +0000 (22:50 -0500)
commitaffbc3184900322de6dd71057e258296d585666b
tree1e774e9aa804839d01a85078c988f096448af16b
parentcb009b3862dc2d5d93a0831c65ac112a72c1645b
Making the unit tests more robust.

It is best to check the error messages of unit tests that fail
validation. This will ensure that a validation failure is due to what we
expect and not due to some secondary reason.

Updating SPIR-V Validator unit tests with error message checks.
test/val/val_id_test.cpp
test/val/val_layout_test.cpp
test/val/val_storage_test.cpp