diff options
author | Ed Bartosh <eduard.bartosh@intel.com> | 2012-10-04 17:42:09 +0300 |
---|---|---|
committer | Ed Bartosh <eduard.bartosh@intel.com> | 2012-11-24 20:24:33 +0200 |
commit | aaee947d5ad2c0efdbcb270346c5176647686c88 (patch) | |
tree | 067047a73f65e05d8038269bb51a4e9e2e9a43eb /tests | |
parent | 0750ca146e0e69c81138aef3b0bbe19caaa09928 (diff) | |
download | mic-aaee947d5ad2c0efdbcb270346c5176647686c88.tar.gz mic-aaee947d5ad2c0efdbcb270346c5176647686c88.tar.bz2 mic-aaee947d5ad2c0efdbcb270346c5176647686c88.zip |
Integrated mic with "OTC Tools Tester" Jenkins machinery
OTC Tester expects that cd packaging/ && make all produces all needed
packaging files. This change makes it happen.
Beside of that tests/mic-test.py was fixed, because Tools Tester job
runs nose if tests/ directory presents in the source tree and expects
some tests results. Results were not generated, so fake test has been
added there.
Change-Id: I08f7b5c6012fbefef640177bce13c301fcf826c0
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mic-test.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/mic-test.py b/tests/mic-test.py index b44cc67..efb775a 100644 --- a/tests/mic-test.py +++ b/tests/mic-test.py @@ -3,7 +3,7 @@ import unittest import os, sys, glob, tempfile, shutil from testbase import * -class MICTest(unittest.TestCase): +class TestMIC(unittest.TestCase): cases_dir = "mic_cases" if os.path.isdir(cases_dir): for case in glob.glob(os.path.join(cases_dir,'test-*')): @@ -19,6 +19,13 @@ def test_%s(self): def tearDown(self): shutil.rmtree(self.work_env, ignore_errors = True) + + def test_stub(self): + """ + Empty test just to make nose to run at least one test. + without tests but with tests/ directory Jenkins job will fail. + """ + assert True def _testTemplate(self, case): """test function""" |