#2 ci: execute integration tests
Merged 4 years ago by benzea. Opened 4 years ago by gicmo.
rpms/ gicmo/bolt ci_integration  into  master

file added
+20
@@ -0,0 +1,20 @@ 

+ #!/usr/bin/bash

+ set -u

+ 

+ IT="$1"

+ 

+ # discover all the tests

+ TESTS=()

+ while IFS= read -r line; do

+     TESTS+=( "${line% *}" )

+ done < <( "$1" list-tests )

+ 

+ # execute all the tests, one by one

+ RESULT=0

+ for test in ${TESTS[@]}; do

+     echo "$test"

+     umockdev-wrapper "$IT" "$test"

+     ((RESULT += $?))

+ done

+ 

+ exit $RESULT

file modified
+10
@@ -1,12 +1,22 @@ 

  ---

  - hosts: localhost

    roles:

+   - role: standard-test-source

+     tags:

+     - always

    - role: standard-test-basic

      tags:

      - classic

      required_packages:

      - bolt

+     - pygobject3-devel

+     - python3-dbus

+     - python3-dbusmock

+     - umockdev-devel

      tests:

      - smoke:

          dir: smoke

          run: boltctl --version

+     - integration:

+         dir: .

+         run: ./run-it.sh source/tests/test-integration

Try to also execute the integration test.

rebased onto aa6d822

4 years ago

rebased onto f0321d2

4 years ago

Pull-Request has been merged by benzea

4 years ago