On 27 October 2012 01:17, Daniel Dunbar <daniel at zuster.org> wrote:> Can you include the output of build-tools.log in that directory, please?Ah, yes! Relative path on clang++ binary. I understand why it works to get the version but not here (different paths). Would be good to have some warning (or even an error) if one passes a relative path. Or, possibly, save the current path and pass it to the compiler during the tests. Nothing critical, just for consistency. It's running now, thanks! -- cheers, --renato http://systemcall.org/
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
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 Oct 28, 2012, at 3:27, Renato Golin <rengolin at systemcall.org> wrote:> Ah, yes! Relative path on clang++ binary. > > I understand why it works to get the version but not here (different paths). > > Would be good to have some warning (or even an error) if one passes a > relative path. Or, possibly, save the current path and pass it to the > compiler during the tests. Nothing critical, just for consistency.I'll fix LNT to detect this and just resolve the path. - Daniel> > It's running now, thanks! > > -- > cheers, > --renato > > http://systemcall.org/