~ubuntu-branches/ubuntu/oneiric/swig1.3/oneiric

« back to all changes in this revision

Viewing changes to Examples/test-suite/python/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-11-10 16:29:56 UTC
  • mfrom: (1.2.8 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20081110162956-xue6itkuqhbza87s
Tags: 1.3.36-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop pike and libchicken-dev from the build-depends 
    (both are universe)
  - Use python2.5 instead of python2.4.
  - use php5
  - Clean Runtime/ as well.
  - debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.
  - drop "--without-mzscheme", we don't have it in our build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#######################################################################
4
4
 
5
5
LANGUAGE     = python
6
 
ifneq (,$(USE_VALGRIND))
7
 
PYTHON       = valgrind --leak-check=full --suppressions=pyswig.supp @PYTHON@
8
 
else
9
6
PYTHON       = @PYTHON@
10
 
endif
11
7
SCRIPTSUFFIX = _runme.py
12
8
srcdir       = @srcdir@
13
9
top_srcdir   = @top_srcdir@
63
59
 
64
60
# Overridden variables here
65
61
LIBS       = -L.
 
62
VALGRIND_OPT += --suppressions=pythonswig.supp
66
63
 
67
64
# Rules for the different types of tests
68
65
%.cpptest: 
84
81
# a file is found which has _runme.py appended after the testcase name.
85
82
run_testcase = \
86
83
        if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then (      \
87
 
          env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PYTHONPATH=$(srcdir):$$PYTHONPATH $(PYTHON) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
 
84
          env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PYTHONPATH=$(srcdir):$$PYTHONPATH $(RUNTOOL) $(PYTHON) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
88
85
        fi;
89
86
 
90
87
# Clean: remove the generated .py file