From f29fc1eb12376f1bb447f8e397fb98daa7ac3327 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 29 Feb 2012 22:13:07 -0600 Subject: Added skeletons for Python unit tests --- test/PyUnitTests.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'test/PyUnitTests.py') diff --git a/test/PyUnitTests.py b/test/PyUnitTests.py index a77d99ad..2aed48b9 100755 --- a/test/PyUnitTests.py +++ b/test/PyUnitTests.py @@ -1,6 +1,13 @@ -#!/bin/sh +#!/bin/bash + +set -e + +PYTHONPATH="%builddir%/.libs":$PYTHONPATH \ +LD_LIBRARY_PATH="%builddir%/.libs":$LD_LIBRARY_PATH \ +DYLD_LIBRARY_PATH="%builddir%/.libs":$DYLD_LIBRARY_PATH \ + %python% "%builddir%"/test/python/ConvertedTests.py PYTHONPATH="%builddir%/.libs":$PYTHONPATH \ LD_LIBRARY_PATH="%builddir%/.libs":$LD_LIBRARY_PATH \ DYLD_LIBRARY_PATH="%builddir%/.libs":$DYLD_LIBRARY_PATH \ - %python% "%builddir%"/test/python/UnitTests.py + %python% "%srcdir%"/test/python/UnitTests.py -- cgit v1.2.3