Skip to contentSkip to conversation

LTP Build - Would it be possible to handle testcase build failures without failing all the build process?

LTP Lucas Meneghel Rodrigues 3 participants 3 messages Jul 6, 2009

lore
Share & tools
lore
#0 lore raw

LTP does have a large amount of testcases, and most of the testcases are independent from each other, thus IMHO, a single compilation failure should not fail the whole build process, instead, the tests that could not be compiled should be marked as BROKEN, and should not be executed during LTP execution.

Do we have any plans to handle individual build failures in a way that doesn't fail the whole build process?

Thanks for your attention!

Lucas

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 8 lines · On Monday 06 July 2009 03:07:56 Lucas Meneghel Rodrigues wrote:

LTP does have a large amount of testcases, and most of the testcases are independent from each other, thus IMHO, a single compilation failure should not fail the whole build process, instead, the tests that could not be compiled should be marked as BROKEN, and should not be executed during LTP execution.

Do we have any plans to handle individual build failures in a way that doesn't fail the whole build process?

use the -k option with make
-mike

------------------------------------------------------------------------------

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#2 lore raw
Quoted 6 lines · Mike Frysinger
Quoted 5 lines · On Monday 06 July 2009 03:07:56 Lucas Meneghel Rodrigues wrote:

LTP does have a large amount of testcases, and most of the testcases are independent from each other, thus IMHO, a single compilation failure should not fail the whole build process, instead, the tests that could not be compiled should be marked as BROKEN, and should not be executed during LTP execution.

Yes, that would be great. And for that an m4 rule file has to be written for each and every LTP test, checking:
1) Header dependency,
2) Library dependency, etc
before compiling.

Regards--
Subrata

Quoted 11 lines
Quoted 3 lines

Do we have any plans to handle individual build failures in a way that doesn't fail the whole build process?

use the -k option with make
-mike
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list