Skip to content
Snippets Groups Projects
Commit c96b9eb7 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

correct behavior for travis flag

parent c95eead4
Branches
Tags
No related merge requests found
...@@ -462,13 +462,14 @@ argp.add_argument('-x', '--xml_report', default=None, type=str, ...@@ -462,13 +462,14 @@ argp.add_argument('-x', '--xml_report', default=None, type=str,
help='Generates a JUnit-compatible XML report') help='Generates a JUnit-compatible XML report')
args = argp.parse_args() args = argp.parse_args()
if args.use_docker and not args.travis: if args.use_docker:
print 'Seen --use_docker flag, will run tests under docker.' if not args.travis:
print print 'Seen --use_docker flag, will run tests under docker.'
print 'IMPORTANT: The changes you are testing need to be locally committed' print
print 'because only the committed changes in the current branch will be' print 'IMPORTANT: The changes you are testing need to be locally committed'
print 'copied to the docker environment.' print 'because only the committed changes in the current branch will be'
time.sleep(5) print 'copied to the docker environment.'
time.sleep(5)
child_argv = [ arg for arg in sys.argv if not arg == '--use_docker' ] child_argv = [ arg for arg in sys.argv if not arg == '--use_docker' ]
run_tests_cmd = 'tools/run_tests/run_tests.py %s' % " ".join(child_argv[1:]) run_tests_cmd = 'tools/run_tests/run_tests.py %s' % " ".join(child_argv[1:])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment