~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Stuart Bishop
  • Date: 2007-06-22 04:42:32 UTC
  • mto: This revision was merged to the branch mainline in revision 4436.
  • Revision ID: stuart@stuartbishop.net-20070622044232-kqdhh00hu4ns2xmp
Remove unmaintainable profiled_ rules, switching to a variable that can be overridden on the command line

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
PYTHON=python${PYTHON_VERSION}
6
6
IPYTHON=$(PYTHON) $(shell which ipython)
7
7
PYTHONPATH:=$(shell pwd)/lib:${PYTHONPATH}
 
8
VERBOSITY=-vv
8
9
 
9
 
TESTFLAGS=-p -v
 
10
TESTFLAGS=-p $(VERBOSITY)
10
11
TESTOPTS=
11
12
 
12
13
SHHH=${PYTHON} utilities/shhh.py
75
76
        # Run all tests. test_on_merge.py takes care of setting up the
76
77
        # database..
77
78
        env PYTHONPATH=$(PYTHONPATH) \
78
 
        ${PYTHON} -t ./test_on_merge.py -vv
79
 
 
80
 
profiled_check: build
81
 
        # Run all tests with profiling turned on.
82
 
        # test_on_merge.py takes care of setting up the database..
83
 
        env PYTHONPATH=$(PYTHONPATH) \
84
 
        ${PYTHON} -t ./test_on_merge.py -vvv
 
79
        ${PYTHON} -t ./test_on_merge.py $(VERBOSITY)
85
80
 
86
81
lint:
87
82
        @bash ./utilities/lint.sh