diff options
Diffstat (limited to 'tests/runTests')
-rwxr-xr-x | tests/runTests | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/runTests b/tests/runTests new file mode 100755 index 000000000..74b853f09 --- /dev/null +++ b/tests/runTests @@ -0,0 +1,20 @@ +#!/usr/bin/python +# runTests.py -- Portage Unit Test Functionality +# Copyright 2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + + +import sys +import os.path as osp + +# Grab SVN portage files instead of normal ones. +sys.path.insert(0,'../pym') + +# Insert our parent dir so we can do shiny import "tests" +# This line courtesy of Marienz and Pkgcore ;) +sys.path.insert(0, osp.dirname(osp.dirname(osp.abspath(__file__)))) + +import tests + +tests.main() |