[CXX-270] Clarify SCons targets Created: 02/Jul/14 Updated: 08/Jan/24 Resolved: 10/Sep/14 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | BSON |
| Affects Version/s: | legacy-0.10.0 |
| Fix Version/s: | legacy-1.0.0-rc1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Adam Midvidy |
| Resolution: | Done | Votes: | 0 |
| Labels: | legacy-cxx | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
We should come up with a better set of install aliases, and ensure that the travis build actually builds every buildable target. |
| Comments |
| Comment by Githook User [ 10/Sep/14 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Githook User [ 03/Sep/14 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Githook User [ 03/Sep/14 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Tyler Brock [ 03/Sep/14 ] |
|
Adam your strategy for all, default target, and mongoclient as well as renaming the clientTests and smokeClient to *examples look good. I like Samantha's suggestion regarding test targets. It makes a lot of sense because if "scons test" builds and runs all of the tests then "scons unit" and "scons integration" would be expected to build and run their respective groups of tests. Ping mira.carey@mongodb.com any thoughts? |
| Comment by Samantha Ritter (Inactive) [ 02/Sep/14 ] |
|
That seems sane to me, but I wonder if it would make sense to have the targets that run the tests be the shorthand ones? scons build-unit (builds unittests only) I feel like I've more commonly wanted to run the tests than only build them. Do other people feel this way? |
| Comment by Adam Midvidy [ 02/Sep/14 ] |
|
I'm thinking along the lines of: scons mongoclient // build libmongoclient.a default target would be mongoclient scons unit - build unittests scons test - run unit and integration tests rename clientTests to examples scons all would be ['mongoclient', 'unit', 'integration', 'examples'] Comments? tyler@10gen.com mira.carey@mongodb.com samantha.ritter@10gen.com |