[SERVER-5998] smoke.py should consult build/unittests.txt to figure out what tests to run. Created: 04/Jun/12  Updated: 11/Jul/16  Resolved: 20/Jun/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.1.2
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Andy Schwerin Assignee: Daniel Crosta
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-5702 Unit test framework improvements (uni... Closed
Participants:

 Description   

See SERVER-5702 and https://github.com/mongodb/mongo/commit/82544c7d08c033184104a5c9ab115e4047fdbdbd

In short, the build system knows how to build a file, build/unittests.txt, and does build it as part of the "all" rule. The file contains a list of unit test programs that should be run, with no arguments, and whose exit code is 0 to indicate test passage, and non-zero to indicate failure.

I'd recommend implementing a "unittests" rule to smoke – "smoke unittests" would run the programs indicated.



 Comments   
Comment by Daniel Crosta [ 20/Jun/12 ]

This was done a while ago, forgot to resolve the issue.

Comment by auto [ 05/Jun/12 ]

Author:

{u'login': u'dcrosta', u'name': u'Dan Crosta', u'email': u'dcrosta@10gen.com'}

Message: SERVER-5998: add smokeCppUnittests target to SCons & smoke.py
Branch: master
https://github.com/mongodb/mongo/commit/b61345ee9078805458b580a57385efdf9509669d

Generated at Thu Feb 08 03:10:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.