/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-09-14 10:49:50 UTC
  • mfrom: (7078.17.4 python3-drop-whitelist)
  • Revision ID: breezy.the.bot@gmail.com-20180914104950-qt1q8n0psa5m29pv
Drop the whitelist for Python 3 now that all tests are passing.

Merged from https://code.launchpad.net/~jelmer/brz/python3-drop-whitelist/+merge/353755

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        -$(RM) -f selftest.log
53
53
        echo `date` ": selftest starts" 1>&2
54
54
        set -o pipefail; BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -O \
55
 
          ./brz selftest -Oselftest.timeout=120 --load-list=python3.passing --strict \
 
55
          ./brz selftest -Oselftest.timeout=120 --strict \
56
56
          --subunit2 $(tests) | tee selftest.log | subunit-2to1
57
57
        echo `date` ": selftest ends" 1>&2
58
58
        # An empty log file should catch errors in the $(PYTHON3)
62
62
        # Check that there were no errors reported.
63
63
        subunit-stats < selftest.log
64
64
 
65
 
update-python3-passing:
66
 
        # Generate a stream for PQM to watch.
67
 
        -$(RM) -f selftest.log
68
 
        -BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::ImportWarning -Wignore::DeprecationWarning -O \
69
 
          ./brz selftest -Oselftest.timeout=120 --strict \
70
 
          --subunit2 $(tests) > selftest.log
71
 
        grep -v "^#" python3.passing > python3.passing.new
72
 
        cat selftest.log | \
73
 
          subunit-filter --no-failure --no-error --success | \
74
 
          subunit-ls --no-passthrough >> python3.passing.new
75
 
        cp python3.passing python3.passing.old
76
 
        grep "^#" python3.passing.old > python3.passing
77
 
        sort -u python3.passing.new >> python3.passing
78
 
 
79
65
check-nodocs2: extensions
80
66
        # Generate a stream for PQM to watch.
81
67
        -$(RM) -f selftest.log
100
86
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
101
87
          | subunit-filter -s --passthrough --rename "^" "python2."; \
102
88
          BRZ_PLUGIN_PATH=$(BRZ_PLUGIN_PATH) $(PYTHON3) -Werror -Wignore::FutureWarning -Wignore::DeprecationWarning -Wignore::PendingDeprecationWarning -Wignore::ImportWarning -Wignore::ResourceWarning -O \
103
 
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --load-list=python3.passing --subunit2 \
 
89
          ./brz selftest -v --parallel=fork -Oselftest.timeout=120 --subunit2 \
104
90
          | subunit-filter -s --passthrough --rename "^" "python3."
105
91
 
106
92
# Run Python style checker (apt-get install pyflakes)