gpsd-dev
[Top][All Lists]
Advanced

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

Re: scons clean, regress driver


From: Hal Murray
Subject: Re: scons clean, regress driver
Date: Sun, 15 Aug 2021 12:11:14 -0700

> "scons build-tests" builds all the tests, but does not run them.

It doesn't setup regress-driver or tests/

> Then you can run the tests by hand. 

I don't want to run yours tests.  I want to run my script which calls 
regress-driver ...

After scons build-tests
[murray@hgm raw]$ ls -ld buildtmp/{reg*,tes*}
ls: cannot access 'buildtmp/reg*': No such file or directory
drwxrwxr-x 2 murray murray 4096 Aug 15 11:37  buildtmp/tests

After scons check:
[murray@hgm raw]$ ls -ld buildtmp/{reg*,tes*}
-rwxrwxr-x 2 murray murray 8786 Aug  6 16:05 buildtmp/regress-driver
drwxrwxr-x 4 murray murray 4096 Aug 15 11:35 buildtmp/test
drwxrwxr-x 2 murray murray 4096 Aug 15 11:35 buildtmp/tests


>>> "scons check" should run all the regressions for you.
>> It does, but it takes a long time.
> Yes, and worth it.

Yes, at the right time.  But the middle of a test/debug cycle is not the right 
time.

---------

This is not a big deal.

I was trying to clean up some bit rot. I got confused, but blundered through.  
It is unlikely that somebody else will encounter the same problem.  Fixing it 
will probably clean up the code slightly.

The other thing that would help would be if scons --help said something about 
the available targets as well as the long list of options.   (maybe split it 
into two, yada...)  It should mention --clean.

There is what looks like slightly out-of-date target-help text in the top of 
SConstruct but I haven't found a way to print it out.


-- 
These are my opinions.  I hate spam.






reply via email to

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