summaryrefslogtreecommitdiffstats
path: root/run-make-check.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* run-make-check.sh: git --ancestry-path is not backward compatibleLoic Dachary2015-02-051-1/+2
| | | | | | The behavior is different on git 1.8 which is the default on centos7. Signed-off-by: Loic Dachary <ldachary@redhat.com>
* run-make-check: use nproc and shorter git expressionLoic Dachary2015-01-291-6/+4
| | | | Signed-off-by: Loic Dachary <ldachary@redhat.com>
* tests: run-make-check.sh arguments are passed to configureLoic Dachary2014-12-211-2/+2
| | | | | | | | | | | | | All run-make-check.sh arguments are transparently given to the configure command. For instance: run-make-check.sh --enable-root-make-check implies ./configure --enable-root-make-check Signed-off-by: Loic Dachary <ldachary@redhat.com>
* tests: replace --enable-docker with --enable-root-make-checkLoic Dachary2014-12-211-12/+1
| | | | | | | | | | | | | | | The --enable-docker logic was that each test that needs privileges to run uses a container to do so. The problem with this approach and make -j8 check is that such tests compete for a single container. The --enable-root-make-check activates tests that require privileges and assume it is ok to use sudo to acquire privileges. The decision to run in a container is then taken by the caller who will run something like: docker-tests.sh ./configure --enable-root-make-check docker-tests.sh make -j8 check Signed-off-by: Loic Dachary <ldachary@redhat.com>
* tests: run-make-check.sh install jqLoic Dachary2014-12-211-1/+1
| | | | | | | | | | jq is useful to parse json from the command line. It is however not packaged for all supported distributions (precise has it in the backport repository which is usually not active) and cannot be conveniently added to debian/control because it targets all distributions and has no conditionals. Signed-off-by: Loic Dachary <ldachary@redhat.com>
* documentation: simplify running make checkLoic Dachary2014-12-131-0/+85
Encapsulate the compilation steps (install dependencies, autogen.sh, configure, make check) in the run-make-check.sh script. Update the developer documentation to point to this script instead of multiple steps. It is intended as a tool to help new developer make sure their patch is sane, it focuses on efficiency (runs make check in parallel if possible) and coverage (enables docker based tests if possible). http://tracker.ceph.com/issues/10265 Fixes: #10265 Signed-off-by: Loic Dachary <ldachary@redhat.com>