about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--test/Programs/pcregrep.c2
-rw-r--r--test/lit.cfg1
2 files changed, 2 insertions, 1 deletions
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 <stdarg.h>
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-'))