[pitivi] Fix make check and make distcheck with waveforms.
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix make check and make distcheck with waveforms.
- Date: Wed, 17 Jul 2013 00:48:44 +0000 (UTC)
commit 5fd0a41246e78d0bef0f25cfb6403f9e1fbf15a9
Author: Mathieu Duponchelle <mathieu duponchelle epitech eu>
Date: Sat Jul 13 03:18:02 2013 +0200
Fix make check and make distcheck with waveforms.
pitivi/coptimizations/Makefile.am | 3 +--
tests/runtests.py | 5 +++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/coptimizations/Makefile.am b/pitivi/coptimizations/Makefile.am
index 3301e1f..fb2ad0f 100644
--- a/pitivi/coptimizations/Makefile.am
+++ b/pitivi/coptimizations/Makefile.am
@@ -1,8 +1,7 @@
-pyexecdir=$(PWD)
-
pyexec_LTLIBRARIES = renderer.la
renderer_la_SOURCES = renderer.c
+pyexecdir = $(libdir)/pitivi/python/pitivi/timeline/
AM_CFLAGS = $(cairo_CFLAGS)
LIBS = $(cairo_LIBS)
renderer_la_CFLAGS = $(PYTHON_CFLAGS) $(AM_CFLAGS)
diff --git a/tests/runtests.py b/tests/runtests.py
index 3ac5c80..7fe9e22 100644
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -9,6 +9,11 @@ from gi.repository import GObject
GObject.threads_init()
from pitivi.check import check_hard_dependencies
+
+parent = os.path.abspath(os.path.join(os.getcwd(), os.pardir))
+
+sys.path.append(os.path.join(parent, "pitivi/coptimizations/.libs"))
+
missing_hard_deps = check_hard_dependencies()
# This differs slightly from bin/pitivi.in as we don't check soft deps here:
if missing_hard_deps:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]