Also run unit tests in Jenkins.
@@ -213,7 +213,7 @@ def docker_build_inside_image( def build_image, compiler_data compiler_args, doc
}
}
- def tox_file = isJobStartedByTimer() ? "Tensile/Tests/nightly" : "Tensile/Tests/pre_checkin";
+ def test_dir = isJobStartedByTimer() ? "Tensile/Tests/nightly" : "Tensile/Tests/pre_checkin";
stage( "Test ${compiler_args.compiler_name} ${compiler_args.build_config}" )
{
try
@@ -224,9 +224,9 @@ def docker_build_inside_image( def build_image, compiler_data compiler_args, doc
set -x
cd ${paths.project_src_prefix}
tox --version
- tox -vv --workdir /tmp/.tensile-tox ${tox_file} -e lint
- tox -vv --workdir /tmp/.tensile-tox ${tox_file} -e py27
- tox -vv --workdir /tmp/.tensile-tox ${tox_file} -e py35
+ tox -vv --workdir /tmp/.tensile-tox Tensile/UnitTests ${test_dir} -e lint
+ tox -vv --workdir /tmp/.tensile-tox Tensile/UnitTests ${test_dir} -e py27
+ tox -vv --workdir /tmp/.tensile-tox Tensile/UnitTests ${test_dir} -e py35
"""
}
}
