From 6b21755f0744cdf7b71bf14432324e1a15c119ea Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 21 Mar 2023 11:13:22 +0000 Subject: Handle fail of KLEE gracefully Under 64bit architecture, a ptr-error might be found. Ignore this for now. --- test/Programs/pcregrep.c | 2 +- test/lit.cfg | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Programs/pcregrep.c b/test/Programs/pcregrep.c index 7bcef671..8bd7a00f 100644 --- a/test/Programs/pcregrep.c +++ b/test/Programs/pcregrep.c @@ -2,7 +2,7 @@ // RUN: %clang -m32 %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out --libc=klee --exit-on-error %t1.bc 2 2 -// XFAIL: x86_64 +// XFAIL: not-target-x86 /* Provide Declarations */ #include diff --git a/test/lit.cfg b/test/lit.cfg index ca7fe20f..8d2654d5 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -225,6 +225,7 @@ else: config.available_features.add('not-wsl-2') # m32 support +config.available_features.add('{}target-x86'.format('' if config.target_triple.find("i386") != -1 else 'not-')) config.available_features.add('{}32bit-support'.format('' if config.have_32bit_support else 'not-')) -- cgit 1.4.1