~jelmer/qbrz/relative

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: RJL situp
  • Date: 2020-07-16 08:19:30 UTC
  • Revision ID: it@file-away.co.uk-20200716081930-hz554711g315bc9c
Fixed a very old bug in _start_next where bencoded strings were being mangled, resulting in non-Bencoded values if there was a file-name to pass (e.g. was '@'+bencoded(name) instead of bencoded('@'+name). run_subprocess_command was vague in its handling of these, so hardened it. Added a test for bad bencoded string detection, just in case

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
        @echo   docs   - build htmls for texts in docs/ directory
9
9
        @echo   epydoc - build API docs with epydoc
10
10
        @echo   ui     - compile UI files
 
11
        @echo   inno   - compile exe (pass RELEASE=X.Y.Z)
11
12
        @echo
12
13
        @echo To build release run:
13
14
        @echo    make release RELEASE=X.Y.Z
66
67
#
67
68
#  BRZ_PLUGINS_AT=qbrz@$(shell pwd) brz selftest --one --strict -s bp.qbrz TestI18n
68
69
checkspecific: test
69
 
        BRZ_PLUGINS_AT=qbrz@$(shell pwd) brz selftest --one --strict -s bp.qbrz TestI18n
 
70
        BRZ_PLUGINS_AT=qbrz@$(shell pwd) brz selftest --one --strict -s bp.qbrz TestBencode
70
71
 
71
72
# Rather than running the test_ suite, this lets you run the actual plugin - note
72
73
# that the tests can often pass but the code fails in actual use.
73
74
qtest:
74
75
# You can test on qbrz itself like this (qlog in this example):
75
76
#
76
 
         BRZ_PLUGINS_AT=qbrz@$(shell pwd) brz qlog
 
77
         BRZ_PLUGINS_AT=qbrz@$(shell pwd) brz qignore
77
78
#
78
79
# If you have a test directory you wish to use, you can cd to it, run the code, cd back from it.
79
80
# In this example, we have a test dir of ``~/pythonstuff/bzr_test_dir/sopsteward`` - we have