~allanlesage/+junk/python-coverage-hooks

« back to all changes in this revision

Viewing changes to A10install_coverage_py_config

  • Committer: Allan LeSage
  • Date: 2014-07-10 23:29:49 UTC
  • Revision ID: allan.lesage@canonical.com-20140710232949-78ww90uptuwnvcbj
Remove some prints, move A99 to A10.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# this was horked from build_and_result_path_logic
5
5
# BUILD_DIR is where the build takes place, may not == WORK_DIR
6
6
if [ -z "$BUILD_DIR" ]; then
7
 
    echo "MATEY"
8
 
    which readlink
9
 
    readlink -f .
10
 
    readlink -f ..
11
 
    readlink -f /tmp/buildd
12
 
    readlink -f /tmp/buildd/*/
13
 
    readlink -f /tmp/buildd/*/debian/
14
 
    readlink -f /tmp/buildd/*/debian/..
15
7
    BUILD_DIR="$(readlink -f /tmp/buildd/*/debian/..)"
16
8
    echo "$BUILD_DIR"
17
9
    if ! [ -d "$BUILD_DIR" ]; then
18
10
        BUILD_DIR=""
19
11
    fi
20
 
    echo "LEFIN"
21
12
fi
22
13
 
23
14
# supply a sensible .coveragerc
29
20
omit = */tests/*,/usr/lib/*
30
21
EOF
31
22
fi
32
 
 
33
 
cat "$BUILD_DIR"/.coveragerc
34
 
pwd