Eric Christopher <echristo at apple.com> writes:> On Nov 8, 2011, at 7:20 PM, David A. Greene wrote: > > I couldn't figure out how to run the test-suite. Are there up-to-date > instructions somewhere? llvm-gcc doesn't exist anymore... > > Easiest is to check out the test-suite branch into projects and then after you configure and build from the top level, go into build/projects/ > test-suite and do a 'make TEST=simple report'.This fails miserably for me: make -j1 TEST=simple make[1]: Entering directory `/home/greened/src/llvm-30-rc3/build/projects/llvm-test' make[2]: Entering directory `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource' make[3]: Entering directory `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests' make[4]: Entering directory `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector' make[5]: Entering directory `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector/SSE' /home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/RunSafely.sh 500 0 /dev/null Output/sse.expandfft.llvm.o.compil e \ -I/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector/SSE -I/home/greened/src/llvm-30-rc3/test-suite-3.0rc3 .src/SingleSource/UnitTests/Vector/SSE -I/home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/include -I../../../../ include -I/home/greened/src/llvm-30-rc3/build/include -I/home/greened/src/llvm-30-rc3/llvm/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG -O3 -m sse2 -c /home/greened/src/llvm-30-rc3/test-suite-3.0rc3.src/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c -o Output/sse.expandfft.llvm.o basename: invalid option -- 'I' Try `basename --help' for more information. /home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/RunSafely.sh: 95: [: =: unexpected operator TEST -I/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector/SSE FAILED: command not found (exit status 127)! /bin/cp Output/sse.expandfft.llvm.o.compile.time Output/sse.expandfft.simple.compile.time o Output/sse.expandfft.simple Output/sse.expandfft.llvm.o -lm -msse2 make[5]: o: Command not found make[5]: [Output/sse.expandfft.simple] Error 127 (ignored) /home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/RunSafely.sh 500 0 /dev/null Output/sse.expandfft.out-simple Ou tput/sse.expandfft.simple TEST Output/sse.expandfft.simple FAILED: command not found (exit status 127)! -Dave
On Nov 9, 2011, at 7:23 AM, David A. Greene wrote:> Eric Christopher <echristo at apple.com> writes: > >> On Nov 8, 2011, at 7:20 PM, David A. Greene wrote: >> >> I couldn't figure out how to run the test-suite. Are there up-to-date >> instructions somewhere? llvm-gcc doesn't exist anymore... >> >> Easiest is to check out the test-suite branch into projects and then after you configure and build from the top level, go into build/projects/ >> test-suite and do a 'make TEST=simple report'. > > This fails miserably for me:Doesn't appear to be finding your built compiler. Can you send me a private email with the output of config.log when you reconfigure and your source checkout lines? Thanks! -eric
I'm not sure if this makes a difference but I ran this make -j 2 -k LLVMCC_OPTION=clang ENABLE_BUILT_CLANG=1 ENABLE_PARALLEL_REPORT=1 TEST=simple report > ../../report.txt 2>&1 inside rc3/Phase3/Release/llvmCore-3.0-rc2.obj/projects/llvm-test On Wed, Nov 9, 2011 at 4:23 PM, David A. Greene <greened at obbligato.org>wrote:> Eric Christopher <echristo at apple.com> writes: > > > On Nov 8, 2011, at 7:20 PM, David A. Greene wrote: > > > > I couldn't figure out how to run the test-suite. Are there > up-to-date > > instructions somewhere? llvm-gcc doesn't exist anymore... > > > > Easiest is to check out the test-suite branch into projects and then > after you configure and build from the top level, go into build/projects/ > > test-suite and do a 'make TEST=simple report'. > > This fails miserably for me: > > make -j1 TEST=simple > make[1]: Entering directory > `/home/greened/src/llvm-30-rc3/build/projects/llvm-test' > make[2]: Entering directory > `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource' > make[3]: Entering directory > `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests' > make[4]: Entering directory > `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector' > make[5]: Entering directory > `/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector/SSE' > /home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/RunSafely.sh > 500 0 /dev/null Output/sse.expandfft.llvm.o.compil > e \ > > -I/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector/SSE > -I/home/greened/src/llvm-30-rc3/test-suite-3.0rc3 > .src/SingleSource/UnitTests/Vector/SSE > -I/home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/include > -I../../../../ > include -I/home/greened/src/llvm-30-rc3/build/include > -I/home/greened/src/llvm-30-rc3/llvm/include -D_GNU_SOURCE > -D__STDC_LIMIT_MACROS -DNDEBUG -O3 -m > sse2 -c > /home/greened/src/llvm-30-rc3/test-suite-3.0rc3.src/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c > -o Output/sse.expandfft.llvm.o > basename: invalid option -- 'I' > Try `basename --help' for more information. > /home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/RunSafely.sh: > 95: [: =: unexpected operator > TEST > -I/home/greened/src/llvm-30-rc3/build/projects/llvm-test/SingleSource/UnitTests/Vector/SSE > FAILED: command not found (exit status 127)! > /bin/cp Output/sse.expandfft.llvm.o.compile.time > Output/sse.expandfft.simple.compile.time > o Output/sse.expandfft.simple Output/sse.expandfft.llvm.o -lm -msse2 > make[5]: o: Command not found > make[5]: [Output/sse.expandfft.simple] Error 127 (ignored) > /home/greened/src/llvm-30-rc3/build/projects/llvm-test/../../../llvm/projects/llvm-test/RunSafely.sh > 500 0 /dev/null Output/sse.expandfft.out-simple Ou > tput/sse.expandfft.simple > TEST Output/sse.expandfft.simple FAILED: command not found (exit status > 127)! > > -Dave > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111109/7cb4b309/attachment.html>
Nikola Smiljanic <popizdeh at gmail.com> writes:> I'm not sure if this makes a difference but I ran this > > make -j 2 -k LLVMCC_OPTION=clang ENABLE_BUILT_CLANG=1 ENABLE_PARALLEL_REPORT=1 TEST=simple report > ../../report.txt 2>&1That does indeed seem to get me further. Thanks! -Dave
Reasonably Related Threads
- [LLVMdev] [cfe-dev] LLVM 3.0rc3 Testing Beginning
- [LLVMdev] failures in test-suite for make TEST=simple
- [LLVMdev] failures in test-suite for make TEST=simple
- [LLVMdev] failures in test-suite for make TEST=simple
- [LLVMdev] failures in test-suite for make TEST=simple