<div dir="ltr"><div><div>I followed the LNT quickstart guide (<a href="http://llvm.org/docs/lnt/quickstart.html">http://llvm.org/docs/lnt/quickstart.html</a>) on my debian machine, and it seems to have a problem running.  When I consult test.log, every single test has a section like this<br>

<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"># Pretend that the reference output was produced instantaneously.<br>cp /home/jeremy/hardware/llvm/test-suite/instant.txt Output/sse.expandfft.out-nat.time<br>

/home/jeremy/hardware/llvm/test-suite/DiffOutput.sh "/home/jeremy/hardware/llvm/mysandbox/test-2014-06-24_20-20-59/tools/fpcmp  -r 0.016" simple sse.expandfft <br>rm -f Output/sse.expandfft.exe-simple<br>cp Output/sse.expandfft.diff-simple Output/sse.expandfft.exe-simple<br>

/bin/sh: 7: test: 0: unexpected operator<br>if test -f Output/sse.expandfft.extra-results.txt; then \<br>      /home/jeremy/hardware/llvm/test-suite/ParseMultipleResults /home/jeremy/hardware/llvm/mysandbox/test-2014-06-24_20-20-59/SingleSource/UnitTests/Vector/SSE/sse.expandfft Output/sse.expandfft.extra-results.txt >> Output/sse.expandfft.simple.exec.report.txt; \<br>

    fi<br>cat Output/sse.expandfft.simple.compile.report.txt Output/sse.expandfft.simple.exec.report.txt >> Output/sse.expandfft.simple.report.txt<br></blockquote><br><br></div>Notice the line "/bin/sh: 7: test: 0: unexpected operator".  <br>

<br>Although I don't understand how the LNT infrastructure works exactly, I'm pretty sure that this is an error due to the difference between bash and dash, the default /bin/sh on debian.  When I tried running one of the make commands that LNT runs with the additional option SHELL=/bin/bash I got similar output, but without the error.  I'm not sure what bash specific features are being used.<br>

<br>I'd want LNT to use bash as a workaround, but I'm not sure how to change which shell LNT uses (export SHELL=/bin/bash doesn't work).<br><br></div>Any help with this would be appreciated.<br><br>Jeremy<br>
</div>