mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 17:34:47 +00:00
Run clang test from correct directory
This commit is contained in:
parent
851919d69e
commit
812c8a8570
1 changed files with 2 additions and 1 deletions
|
@ -194,8 +194,9 @@ make %{_smp_mflags} \
|
||||||
%check
|
%check
|
||||||
# some tests fail on PPC
|
# 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
|
# http://www.nabble.com/LLVM-2.6-pre1%3A-test-failures-on-Fedora-11.91-%28Rawhide%29-ppc-td25334198.html
|
||||||
|
cd obj
|
||||||
%ifnarch ppc
|
%ifnarch ppc
|
||||||
cd obj && make check
|
make check
|
||||||
%endif
|
%endif
|
||||||
# some clang tests still fail, preserve test results
|
# some clang tests still fail, preserve test results
|
||||||
(cd tools/clang && make test 2>&1) | tee ../testlog.txt || true
|
(cd tools/clang && make test 2>&1) | tee ../testlog.txt || true
|
||||||
|
|
Loading…
Reference in a new issue