-
Notifications
You must be signed in to change notification settings - Fork 140
build: "all" should be default, don't run tests on install #19
Conversation
Neither "make" or "make install" should not run tests. Further, change the default target to be "all" by listing it first.
|
LGTM, tests aren't run in rpmbuild by default with this update. |
|
That's what |
|
yup, the test could be placed in |
build: "all" should be default, don't run tests on install
|
We can do it like we do the docker test, so that we only do the check if the docker socket is available. |
|
Then we can run the tests in Jenkens. |
|
@rhatdan hmm, I guess as long as mock doesn't pull in docker given that it's a runtime requirement and trigger tests, we're probably fine. I'll give this a shot and get back |
|
How about a new target |
|
(Because we could have tests that run as non-root, e.g. internal mocked unit tests and the like) |
|
haven't tried in mock yet, but on a non-mock build, Also: |
|
so running tests in check works fine, mock doesn't complain either. scratch build results: http://koji.fedoraproject.org/koji/taskinfo?taskID=9000034 |
|
LABEL would currently require the LABEL patch, which is only in RHEL7 at the moment. |
Neither "make" or "make install" should not run tests. Further,
change the default target to be "all" by listing it first.