Add support for running tests that are expected to fail

Also add should-fail tests that exercise const and decl
initializers
This commit is contained in:
Matt Pharr
2011-11-08 17:19:26 -08:00
parent 6c8a064a5a
commit 79684a0bed
14 changed files with 94 additions and 0 deletions

View File

@@ -69,6 +69,9 @@
*/
static int
lTerminalWidth() {
if (g->disableLineWrap)
return 1<<30;
#if defined(ISPC_IS_WINDOWS)
HANDLE h = GetStdHandle(STD_OUTPUT_HANDLE);
if (h == INVALID_HANDLE_VALUE || h == NULL)