Exactly how are you running the tests? Via LNT or directly? If via LNT, make sure you test suite repository is clean (no in tree configure or make results). - Daniel On Oct 28, 2012, at 9:57, Renato Golin <rengolin at systemcall.org> wrote:> Round 2, fight! > > I managed to run many tests (not sure all of them), and some failed, > some didn't. All errors in the 'test' rule were dutifully ignored (I > think). So far so good. > > But I had some errors on the 'report' rule, which I wasn't expecting. > > make: *** [report.simple.raw.out] Error 2 > make: Target `report' not remade because of errors. > /home/rengolin/devel/llvm/test-suite/GenerateReport.pl -csv > /home/rengolin/devel/llvm/test-suite/TEST.simple.report < > report.simple.raw.out > report.simple.csv > /bin/sh: 1: cannot open report.simple.raw.out: No such file > make: *** [report.simple.csv] Error 2 > > And that stops the process. > > $ make report > > Didn't work, but I guess that's deeply nested and probably also need > many environment config to be just right. Is there a way to re-run > just the report part of an old test using lnt? > > I couldn't find any *.out file in the test dir (recursively), maybe > there's something wrong with the 'test' rule? > > cheers, > --renato
On 28 October 2012 17:32, Daniel Dunbar <daniel.dunbar at gmail.com> wrote:> Exactly how are you running the tests? Via LNT or directly?Via LNT, like this: ./sandbox/bin/python sandbox/bin/lnt runtest nt \ --sandbox sandbox \ --test-suite ~/devel/llvm/test-suite \ --cc ~/devel/llvm/debug/bin/clang++> If via LNT, make sure you test suite repository is clean (no in tree > configure or make results).$ git status # On branch master nothing to commit (working directory clean) cheers, --renato
On Oct 28, 2012, at 11:19, Renato Golin <rengolin at systemcall.org> wrote:> On 28 October 2012 17:32, Daniel Dunbar <daniel.dunbar at gmail.com> wrote: >> Exactly how are you running the tests? Via LNT or directly? > > Via LNT, like this: > > ./sandbox/bin/python sandbox/bin/lnt runtest nt \ > --sandbox sandbox \ > --test-suite ~/devel/llvm/test-suite \ > --cc ~/devel/llvm/debug/bin/clang++You probably make --cc be clang not clang++, but I wouldn't expect that to fatally break the running of the tests. The test suite makefiles can be pretty fragile. If you send me the test.log file I will take a look. If you want to try running on a smaller subset you can ad something like "--only-test SingleSource/UnitTests". - Daniel>> If via LNT, make sure you test suite repository is clean (no in tree >> configure or make results). > > $ git status > # On branch master > nothing to commit (working directory clean) > > cheers, > --renato