HomePhabricator

[test] Use host platform specific error message substitution in lit tests

Authored by abhina.sreeskantharajan on Mar 5 2021, 4:20 AM.

Description

[test] Use host platform specific error message substitution in lit tests

This patch uses the errno python library to print out the correct error messages instead of hardcoding the error message per platform.

Reviewed By: jhenderson, ASDenysPetrov

Differential Revision: https://reviews.llvm.org/D97472