Skip to content
Snippets Groups Projects
Forked from tests / apertis-test-cases
570 commits behind the upstream repository.
  • Luis Araujo's avatar
    bb5bc5fa
    Make the code a proper module and command · bb5bc5fa
    Luis Araujo authored
    
    This commit applies several changes in order to turn the
    renderer code into a proper python module and command that
    can be easily installed using the setuptools module.
    
    Main changes:
    - Main executable is named atc
    - Use setuptools to install renderer executable
    - Improve tests so they can be easily executed by packages
    - Update README instructions
    
    Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
    bb5bc5fa
    History
    Make the code a proper module and command
    Luis Araujo authored
    
    This commit applies several changes in order to turn the
    renderer code into a proper python module and command that
    can be easily installed using the setuptools module.
    
    Main changes:
    - Main executable is named atc
    - Use setuptools to install renderer executable
    - Improve tests so they can be easily executed by packages
    - Update README instructions
    
    Signed-off-by: default avatarLuis Araujo <luis.araujo@collabora.co.uk>
test_file5.yaml 1.03 KiB
metadata:
  name: ribchester
  format: "Apertis Test Definition 1.0"
  image-type: any
  image-arch: any
  type: functional
  exec-type: automated
  priority: critical
  maintainer: "Apertis Project"
  description: "Ribchester library test."

  macro_modules_preconditions: ribchester

  expected:
    - "All tests should pass (ok). The output should be similar to:"
    - |
        >test.name0...ok
        test.name1...ok
        test.name2...ok
        test.nameN...ok

install:
  deps:
  - build-essential
  - devscripts
  - gnome-desktop-testing
  - python3-debian
  - ribchester-dev
  - ribchester-tests
  steps:
  # Download in /tmp directory
  - cd /tmp/
  - apt source ribchester
  - chown user:user -R /tmp/ribchester-*

run:
  steps:
    - "# Execute the following command:"
    - common/run-test-in-systemd --timeout=900 --chdir /tmp/ribchester-* --user=user --name=ribchester -- sadt --verbose

parse:
  pattern: '^(?P<test_case_id>[a-zA-Z0-9_\-\./]+)\s...\s(?P<result>ok|FAIL|SKIP)'
  fixupdict:
    ok: pass
    FAIL: fail
    SKIP: skip