jobs/ttcn3: add testsuites with io_uring

Set LIBOSMO_IO_BACKEND=IO_URING via the DOCKER_ARGS variable, which all
SUTs already use in docker-playground.git (see ttcn3-*/jenkins.sh).

The list of testsuites to test for is takend from:
https://osmocom.org/issues/6357#note-9

Closes: OS#6357
Change-Id: I8eb3f4fdfe54268d3b623d88c8746f5395ba509d
This commit is contained in:
Oliver Smith 2024-03-13 11:20:32 +01:00
parent a0b7b49813
commit bae98f4f35
1 changed files with 16 additions and 0 deletions

View File

@ -204,6 +204,18 @@
- TTCN3-centos7-pcap-client-test-latest:
timer: H 10 * * *
# With LIBOSMO_IO_BACKEND=IO_URING (OS#6357)
- ttcn3-bsc-test-io_uring:
timer: H 11 * * *
- ttcn3-msc-test-io_uring:
timer: H 11 * * *
- ttcn3-hnbgw-test-io_uring:
timer: H 11 * * *
- ttcn3-gbproxy-test-io_uring:
timer: H 11 * * *
- ttcn3-sgsn-test-io_uring:
timer: H 11 * * *
- job-template:
name: '{job-name}'
project-type: freestyle
@ -262,6 +274,10 @@
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos7\-/ttcn3-/)"
export IMAGE_SUFFIX="master-centos7"
;;
*-io_uring)
DIR="$(echo "{job-name}" | sed s/\-io_uring$//)"
export DOCKER_ARGS="-e LIBOSMO_IO_BACKEND=IO_URING"
;;
*-latest)
DIR="$(echo "{job-name}" | sed s/\-latest$//)"
export IMAGE_SUFFIX="latest"