From 812c8a8570e2bae9e1dfbaf54500df72377df8de Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 10 Sep 2009 04:08:51 +0000 Subject: [PATCH] Run clang test from correct directory --- llvm.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 18272da..fc9bdfe 100644 --- a/llvm.spec +++ b/llvm.spec @@ -194,8 +194,9 @@ make %{_smp_mflags} \ %check # some tests fail on PPC # http://www.nabble.com/LLVM-2.6-pre1%3A-test-failures-on-Fedora-11.91-%28Rawhide%29-ppc-td25334198.html +cd obj %ifnarch ppc -cd obj && make check +make check %endif # some clang tests still fail, preserve test results (cd tools/clang && make test 2>&1) | tee ../testlog.txt || true