Skip to content

Commit

Permalink
Pass COVERAGE envvar to the build container
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjinhan committed Nov 1, 2016
1 parent b1c0102 commit 29b6b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def shell_quote(cmd):
return "'" + cmd.replace("'", "'\\''") + "'"

def run_docker_cmd(cmd):
run_cmd('docker run -e CC -e CXX --rm -t -v %s:%s %s sh -c %s' % \
run_cmd('docker run -e CC -e CXX -e COVERAGE --rm -t -v %s:%s %s sh -c %s' % \
(BESS_DIR_HOST, BESS_DIR_CONTAINER, IMAGE, shell_quote(cmd)))

def build_bess():
Expand Down

0 comments on commit 29b6b1a

Please sign in to comment.