Skip to content

Commit

Permalink
Merge pull request #60 from lsst/tickets/DM-15851
Browse files Browse the repository at this point in the history
DM-15851: Clean target files if we are not performing an install
  • Loading branch information
brianv0 committed Oct 15, 2018
2 parents b79374a + 12afcd6 commit b2cbfd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/lsst/sconsUtils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,10 @@ def runPythonTests(self, pyList):
# If we ran all the test, then copy the previous test
# execution products to `.all' files so we can retrieve later.
# If we skip the test (exit code 5), retrieve those `.all' files.
cmd = """
cmd = ""
if lfnfOpt == "all":
cmd += "@rm -f ${{TARGET}} ${{TARGET}}.failed; \\"
cmd += """
@printf "%s\\n" 'running global pytest... ';
@({2} TRAVIS=1 {0} {1}); \
export rc="$?"; \
Expand Down

0 comments on commit b2cbfd6

Please sign in to comment.