Update the validation tests to use utils::WireHelper
This enables running the validation uses using the wire with
the command line flag --use-wire
Bug: dawn:654
Change-Id: I17a642a132c8b6321195ec6869e5f86aebdd1c51
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38620
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
diff --git a/src/tests/UnittestsMain.cpp b/src/tests/UnittestsMain.cpp
index fb5dfa3..b98a616 100644
--- a/src/tests/UnittestsMain.cpp
+++ b/src/tests/UnittestsMain.cpp
@@ -12,9 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include "unittests/validation/ValidationTest.h"
+
#include <gtest/gtest.h>
int main(int argc, char** argv) {
+ InitDawnValidationTestEnvironment(argc, argv);
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}