Re: [lldb-dev] New build machine in the cluster lldb-amd64-ninja-netbsd8

2017-04-24 Thread Pavel Labath via lldb-dev
On 22 April 2017 at 23:57, Kamil Rytarowski via lldb-dev <
lldb-dev@lists.llvm.org> wrote:

> Hello,
>
> I'm in process of attaching new build machine lldb-amd64-ninja-netbsd8.
>
> It will run prerelease of NetBSD/amd64 8.0 (as of today 7.99.70) with
> the GNU toolchain.
>
> Once the new one setup will be in operation, I will upgrade the old one
> to 7.99.70 (& retain the same name), switch the to the staging cluster
> http://lab.llvm.org:8014/ and turn on execution of tests.
>
> Am I right that in order to turn tests I need to switch "runTest=False"
> to "runTest=True" in buildbot/osuosl/master/config/builders.py?
>

Affirmative.

As you are using the "scripted" build factory, you'll also need to create a
 test_cfg.json in your scripts folder on the build slave, which describes
the kind of tests you want to run:
For example, the linux build bot has this in the file:
{
"test1": "local,clang-3.5,i386",
"test2": "local,clang-3.5,x86_64",
"test3": "local,totclang,i386",
"test4": "local,totclang,x86_64",
"test5": "local,/lldb-buildbot/bin/gcc-4.9.2/bin/gcc,i386",
"test6": "local,/lldb-buildbot/bin/gcc-4.9.2/bin/gcc,x86_64"
}
but a single test line would probably be enough for you.
Then, the master will invoke a script "test.sh" with the test config
argument: (e.g., ./test.sh local,clang-3.5,i386) and your script should run
the tests.

let me know if you run into problems,
pl
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] New build machine in the cluster lldb-amd64-ninja-netbsd8

2017-04-24 Thread Kamil Rytarowski via lldb-dev
On 24.04.2017 11:42, Pavel Labath wrote:
> 
> 
> On 22 April 2017 at 23:57, Kamil Rytarowski via lldb-dev
> mailto:lldb-dev@lists.llvm.org>> wrote:
> 
> Hello,
> 
> I'm in process of attaching new build machine lldb-amd64-ninja-netbsd8.
> 
> It will run prerelease of NetBSD/amd64 8.0 (as of today 7.99.70) with
> the GNU toolchain.
> 
> Once the new one setup will be in operation, I will upgrade the old one
> to 7.99.70 (& retain the same name), switch the to the staging cluster
> http://lab.llvm.org:8014/ and turn on execution of tests.
> 
> Am I right that in order to turn tests I need to switch "runTest=False"
> to "runTest=True" in buildbot/osuosl/master/config/builders.py?
> 
> 
> Affirmative.
> 
> As you are using the "scripted" build factory, you'll also need to
> create a  test_cfg.json in your scripts folder on the build slave, which
> describes the kind of tests you want to run:
> For example, the linux build bot has this in the file:
> {
> "test1": "local,clang-3.5,i386",
> "test2": "local,clang-3.5,x86_64",
> "test3": "local,totclang,i386",
> "test4": "local,totclang,x86_64",
> "test5": "local,/lldb-buildbot/bin/gcc-4.9.2/bin/gcc,i386",
> "test6": "local,/lldb-buildbot/bin/gcc-4.9.2/bin/gcc,x86_64"
> }
> but a single test line would probably be enough for you.
> Then, the master will invoke a script "test.sh" with the test config
> argument: (e.g., ./test.sh local,clang-3.5,i386) and your script should
> run the tests.
> 
> let me know if you run into problems,
> pl

Thank you, I will give it a try and let you know about the status.



signature.asc
Description: OpenPGP digital signature
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] Patch to fix a segfault while printing in LLDB

2017-04-24 Thread Alex Langford via lldb-dev
Hello,

I probably should have sent this email before trying to work on this and before 
submitting a diff, but better late than never.

Recently I encountered a segfault while using LLDB. I tracked down the issue in 
source/Host/common/Editline.cpp, and have uploaded a diff with what I believe 
is the correct fix. I originally have added reviewers based on people who 
committed to the same file in the past few months, but I’m unsure of who might 
be best to review this. If you are familiar with this portion of the codebase 
and have some time, I would appreciate a review. The relevant details 
(reproduction, justification of my fix, etc) are in the summary of the diff.

The diff in question is here: https://reviews.llvm.org/D32421


___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev