Created new unittest model.

Separete unittest for module.
Only run unittest for compiled modules.

Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>,
          Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Renato Filho 2010-06-07 14:43:45 -03:00
commit ab918abc1e
211 changed files with 241 additions and 79 deletions

View file

@ -1,13 +1,13 @@
#!/usr/bin/python
#!/bin/sh
# This is a nasty workaround of a CTest limitation
# of setting the environment variables for the test.
# $1: LD_LIBRARY_PATH
# $2: $PYTHON_PATH
# $2: $PYTHONPATH
# $3: python executable
# $4: test file
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$1
export PYTHONPATH=$PYTHONPATH:$2
export LD_LIBRARY_PATH=$1:$LD_LIBRARY_PATH
export PYTHONPATH=$2:$PYTHONPATH
$3 $4