mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
Fix distcheck some more.
In testsuite/common.py look for gst/__init__.py in builddir now. Clean gst/__init__.pyc after make check.
This commit is contained in:
parent
cac4f31f1a
commit
a1584d04c5
2 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ GST_OVERRIDES = \
|
|||
gstbase.override
|
||||
|
||||
GST_DEFS = gst.defs gst-types.defs gst-extrafuncs.defs libs.defs base.defs
|
||||
CLEANFILES = gst.c
|
||||
CLEANFILES = gst.c __init__.pyc
|
||||
EXTRA_DIST += $(GST_DEFS) $(GST_OVERRIDES) gstversion.override.in
|
||||
gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES) gstversion.override __init__.py
|
||||
|
||||
|
|
|
@ -61,8 +61,8 @@ topsrcdir = os.path.abspath(os.path.join('..'))
|
|||
if topsrcdir.endswith('_build'):
|
||||
topsrcdir = os.path.dirname(topsrcdir)
|
||||
|
||||
# gst's __init__.py is in topsrcdir/gst
|
||||
path = os.path.abspath(os.path.join(topsrcdir, 'gst'))
|
||||
# gst's __init__.py is in topbuilddir/gst
|
||||
path = os.path.abspath(os.path.join(topbuilddir, 'gst'))
|
||||
import gst
|
||||
file = gst.__file__
|
||||
assert file.startswith(path), 'bad gst path: %s' % file
|
||||
|
|
Loading…
Reference in a new issue