Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion test/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@

import os
import sys
from os.path import abspath, dirname, join
from subprocess import Popen, call
from tempfile import TemporaryFile

import env
from run_unit_tests import run_unit_tests

CURDIR = dirname(abspath(__file__))

REBOT_ARGS = [
'--outputdir', '%(outdir)s',
Expand Down Expand Up @@ -120,7 +122,8 @@ def _help():

def _run_unit_tests():
print('Running unit tests')
failures = run_unit_tests()
pypath = sys.executable
failures = call([pypath, os.path.join(CURDIR,'run_unit_tests.py')])
if failures != 0:
print('\n%d unit tests failed - not running acceptance tests!' % failures)
else:
Expand Down