aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-08-24 14:48:31 +0300
committerMatias Elo <matias.elo@nokia.com>2021-10-04 11:52:54 +0300
commit54ca03915ddf070a3c67f6a3c89f442c202a1adb (patch)
tree9731fad338378ed150fd264a027730f77ca81ec5
parent4377e9dad15e7e6aab1735313dbf175560f201f8 (diff)
github_ci: add test for alternate timer implementation
Add new test for the alternate DPDK timer implementation. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
-rw-r--r--.github/workflows/ci-pipeline.yml11
-rw-r--r--platform/linux-dpdk/test/alternate-timer.conf8
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml
index 84d056d3e..47e8deb1f 100644
--- a/.github/workflows/ci-pipeline.yml
+++ b/.github/workflows/ci-pipeline.yml
@@ -268,6 +268,17 @@ jobs:
if: ${{ failure() }}
run: find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
+ Run_alternate_timer:
+ runs-on: ubuntu-18.04
+ steps:
+ - uses: actions/checkout@v2
+ - run: sudo docker run -i -v `pwd`:/odp --privileged --shm-size 8g -e CC="${CC}" -e ARCH="${ARCH}"
+ -e ODP_CONFIG_FILE=/odp/platform/linux-dpdk/test/alternate-timer.conf
+ -e CONF="${CONF}" $CONTAINER_NAMESPACE/odp-ci-${OS}-${ARCH} /odp/scripts/ci/check.sh
+ - name: Failure log
+ if: ${{ failure() }}
+ run: find . -name "*.trs" | xargs grep -l '^.test-result. FAIL' | while read trs ; do echo FAILURE detected at $trs; cat ${trs%%.trs}.log ; done
+
Run_dpdk-20_11:
runs-on: ubuntu-18.04
env:
diff --git a/platform/linux-dpdk/test/alternate-timer.conf b/platform/linux-dpdk/test/alternate-timer.conf
new file mode 100644
index 000000000..079409f1f
--- /dev/null
+++ b/platform/linux-dpdk/test/alternate-timer.conf
@@ -0,0 +1,8 @@
+# Mandatory fields
+odp_implementation = "linux-dpdk"
+config_file_version = "0.1.14"
+
+timer: {
+ # Enable alternate DPDK timer implementation
+ alternate = 1
+}