Skip to content

Commit

Permalink
Merge branch 'master' into issue-86-detached-sync-status
Browse files Browse the repository at this point in the history
  • Loading branch information
billsacks committed Apr 10, 2018
2 parents d1de5f8 + 3b624cf commit b11ad61
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-- AUTOMATICALLY GENERATED FILE. DO NOT EDIT --

[![Build Status](https://travis-ci.org/NCAR/manage_externals.svg?branch=master)](https://travis-ci.org/NCAR/manage_externals)[![Coverage Status](https://coveralls.io/repos/github/NCAR/manage_externals/badge.svg?branch=master)](https://coveralls.io/github/NCAR/manage_externals?branch=master)
[![Build Status](https://travis-ci.org/ESMCI/manage_externals.svg?branch=master)](https://travis-ci.org/ESMCI/manage_externals)[![Coverage Status](https://coveralls.io/repos/github/ESMCI/manage_externals/badge.svg?branch=master)](https://coveralls.io/github/ESMCI/manage_externals?branch=master)
```
usage: checkout_externals [-h] [-e [EXTERNALS]] [-o] [-S] [-v] [--backtrace]
[-d] [--no-logging]
Expand Down Expand Up @@ -203,3 +203,9 @@ The root of the source tree will be referred to as `${SRC_ROOT}` below.
'sub-externals.cfg'.

* Lines begining with '#' or ';' are comments and will be ignored.

# Obtaining this tool, reporting issues, etc.

The master repository for manage_externals is
https://github.com/ESMCI/manage_externals. Any issues with this tool
should be reported there.
5 changes: 5 additions & 0 deletions manic/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ def commandline_arguments(args=None):
* Lines begining with '#' or ';' are comments and will be ignored.
# Obtaining this tool, reporting issues, etc.
The master repository for manage_externals is
https://github.com/ESMCI/manage_externals. Any issues with this tool
should be reported there.
'''

parser = argparse.ArgumentParser(
Expand Down
13 changes: 8 additions & 5 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ PYLINT_ARGS=-j 2 --rcfile=.pylint.rc

# code coverage
COVERAGE=coverage
COVERAGE_ARGS=--rcfile=.coveragerc --append
COVERAGE_ARGS=--rcfile=.coveragerc

# source files
SRC = \
Expand Down Expand Up @@ -72,8 +72,8 @@ test : utest stest
.PHONY : readme
readme : $(CHECKOUT_EXE)
printf "%s\n\n" "-- AUTOMATICALLY GENERATED FILE. DO NOT EDIT --" > $(README)
printf "%s" '[![Build Status](https://travis-ci.org/NCAR/manage_externals.svg?branch=master)](https://travis-ci.org/NCAR/manage_externals)' >> $(README)
printf "%s" '[![Coverage Status](https://coveralls.io/repos/github/NCAR/manage_externals/badge.svg?branch=master)](https://coveralls.io/github/NCAR/manage_externals?branch=master)' >> $(README)
printf "%s" '[![Build Status](https://travis-ci.org/ESMCI/manage_externals.svg?branch=master)](https://travis-ci.org/ESMCI/manage_externals)' >> $(README)
printf "%s" '[![Coverage Status](https://coveralls.io/repos/github/ESMCI/manage_externals/badge.svg?branch=master)](https://coveralls.io/github/ESMCI/manage_externals?branch=master)' >> $(README)
printf "\n%s\n" '```' >> $(README)
$(CHECKOUT_EXE) --help >> $(README)

Expand All @@ -92,10 +92,13 @@ lint : FORCE
stylint : style lint

.PHONY : coverage
# Need to use a single coverage run with a single pattern rather than
# using two separate commands with separate patterns for test_unit_*.py
# and test_sys_*.py: The latter clobbers some results from the first
# run, even if we use the --append flag to 'coverage run'.
coverage : FORCE
$(PYPATH) $(COVERAGE) erase
$(PYPATH) $(COVERAGE) run $(COVERAGE_ARGS) $(TEST_ARGS) --pattern 'test_unit_*.py'
$(PYPATH) $(COVERAGE) run $(COVERAGE_ARGS) $(TEST_ARGS) --pattern 'test_sys_*.py'
$(PYPATH) $(COVERAGE) run $(COVERAGE_ARGS) $(TEST_ARGS) --pattern 'test_*.py'
$(PYPATH) $(COVERAGE) html

#
Expand Down

0 comments on commit b11ad61

Please sign in to comment.