Skip to content

Commit

Permalink
Don't ignore OS-specific test args in xfail job (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored May 4, 2020
1 parent 9ba0902 commit 4eb8bf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion create_jenkins_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ def create_job(os_name, job_name, template_file, additional_dict):

# configure nightly triggered job for excluded test
job_name = 'nightly_' + job_os_name + '_xfail'
test_args_default = data['test_args_default'].replace('--ctest-args -LE xfail', '--ctest-args -L xfail')
test_args_default = os_configs.get(os_name, data).get('test_args_default', data['test_args_default'])
test_args_default = test_args_default.replace('--ctest-args -LE xfail', '--ctest-args -L xfail')
test_args_default = test_args_default.replace('--pytest-args -m "not xfail"', '--pytest-args -m xfail --runxfail')
create_job(os_name, job_name, 'ci_job.xml.em', {
'cmake_build_type': 'None',
Expand Down

0 comments on commit 4eb8bf1

Please sign in to comment.