2015-04-03 01:44:03

by Hajime Tazaki

[permalink] [raw]
Subject: Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)


Thanks Rusty,

At Wed, 01 Apr 2015 11:59:39 +1030,
Rusty Russell wrote:
>
> Hajime Tazaki <[email protected]> writes:
> > the issue here is the decision between 'no-ops' and
> > 'assert(false)' depends on the context. an auto-generated
> > mechanism needs some hand-written parameters I think.
>
> Yes, I used auto-generated (fprintf, abort) stubs for similar testing in
> pettycoin, where if it failed to link it would generate such stubs
> for undefined symbols.
>
> It's not a panacea, but it helps speed up rejiggin after code changes.
> Generating noop stubs can actually make that process slower, as you can
> get failures because you now need to do something in that stub.

is it the following ? it's really cool stuff !

https://github.com/rustyrussell/pettycoin/blob/master/test/mockup.sh

-- Hajime


2015-04-08 01:17:23

by Rusty Russell

[permalink] [raw]
Subject: Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

Hajime Tazaki <[email protected]> writes:
> is it the following ? it's really cool stuff !
>
> https://github.com/rustyrussell/pettycoin/blob/master/test/mockup.sh

Yep. It's ugly, but it Works For Me(TM).

Cheers,
Rusty.