This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] nosleep 0.1.3-1 (needs GTG)


> Packaging is GTG.

Thanks.

>  I didn't check the application's functionality.

Right.  Unfortunately there's no fast or easy way to do that.  You have to run a
command that takes longer than your idle sleep timer, for example, and check
that the machine doesn't go to sleep.  I have done that and verified that each
of the options works as described, at least on my Windows 7 laptop.  But as I
describe in the man page, it's just hard to completely stop a host from going to
sleep, so it's always going to be hard to completely test that nosleep is
working as intended.

> Since you don't have a test suite, you might want to define a src_test
> function in the cygport:
> 
> src_test() {
> 	:
> }

OK, I'll do that.  

Package uploaders:  please wait for an RFU for nosleep 0.1.3-3.

Maybe in time I can develop a proper test suite, but it will always be a bit
labor-intensive.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]