tasklwIP - A Lightweight TCP/IP stack - Tasks: task #14097, Create automated option-iteration...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #14097: Create automated option-iteration test

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Thu 21 Jul 2016 08:14:20 PM UTC
   
 
Category:  None Should Start On:  Thu 21 Jul 2016 12:00:00 AM UTC
Should be Finished on:  Thu 21 Jul 2016 12:00:00 AM UTC Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Open Planned Release:  None
Effort:  0.00

Fri 19 Aug 2016 11:35:15 AM UTC, comment #1: 

Idea:
- create a list of all options and their possible values (undefined, defined to nothing, 1, 0)
- run a preprocessor (much faster than compiling) over all files using one option set
- iterate over all options, hash the processor output and only take unique sets of options to compile the code

... that might speed up the generation of valid and worthy lwipopts.h files to check.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 21 Jul 2016 08:14:20 PM UTC, original submission:  

We could need an automated build (and run?) test that creates multiple iterations of lwipopts.h (and other _opts.h) files with *valid option combinations to ensure
 a) everything still compiles and
 b) it still works as expected

a) should be simple, b) is probably more complex

Simon Goldschmidt <goldsimon>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code