gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What happened to scons testclean?


From: Gary E. Miller
Subject: Re: What happened to scons testclean?
Date: Thu, 10 Dec 2020 19:08:09 -0800

Yo Hal!

On Thu, 10 Dec 2020 18:53:35 -0800
Hal Murray <hmurray@megapathdsl.net> wrote:

> gem@rellim.com said:
> > No need for it anymore.  ...  
> 
> Leftover from when scons check was a bit flaky, I had scripts to run
> scons check several times, capturing the printout in different log
> files.  When things work correctly, the first log file is different
> because it had to build the code that does the check-ing.  Running
> scons testclean made it so the second run had to rebuild the code too
> and the log file would be identical.

Did you ever find any problems by running it twice?  If so then
worth restoring.

> Do you have suggestions for how to restore that functionality?  I can
> make a list of what gets built and delete it myself.  Ugly, but
> probably effective.

It was only 2 lines of (broken) code.  If you have a real use case
then I can restore it.

> Is there a way to build the code without running it?  That would let
> me run a pass 0 to build the code, then go into my loop doing the
> checking.

Sure, "scons 'target'".  Like this:

# scons tests/test_clienthelpers.py

But that would be a lot of lines to maintain.

Or, run "scons check" 3 times and ignore the first?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpGDWoldekV3.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]