Drop the testing bits, accidentally committed to master
This was supposed to be a test PR for the test suite, on a private branch. Somehow ended up on master and got accidentally commited with the recent libinput update. Remove it again, this was never supposed to be on master.
This commit is contained in:
parent
b0b7bd9a11
commit
3d762402a9
@ -1,5 +0,0 @@
|
|||||||
PURPOSE of libinput-test-suite
|
|
||||||
Description: Full test suite run for libinput
|
|
||||||
Author: Peter Hutterer <peter.hutterer@redhat.com>
|
|
||||||
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
export # let's see what's available
|
|
||||||
pwd
|
|
||||||
set -e
|
|
||||||
|
|
||||||
ls /dev/input # if this fails, we don't have a VM
|
|
||||||
ls /dev/uinput # same as above
|
|
||||||
|
|
||||||
# this is where the standard-test-source extracts to
|
|
||||||
pushd ../source
|
|
||||||
|
|
||||||
meson builddir -Ddocumentation=false -Dtests=true -Ddebug-gui=false
|
|
||||||
ninja -C builddir test
|
|
||||||
|
|
||||||
popd > /dev/null
|
|
@ -1,4 +0,0 @@
|
|||||||
PURPOSE of libinput-tool-beakerlib
|
|
||||||
Description: Test for the libinput commandline tool
|
|
||||||
Author: Peter Hutterer <peter.hutterer@redhat.com>
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Include rhts environment
|
|
||||||
. /usr/bin/rhts-environment.sh
|
|
||||||
. /usr/share/rhts-library/rhtslib.sh
|
|
||||||
|
|
||||||
PACKAGE="libinput"
|
|
||||||
|
|
||||||
rlJournalStart
|
|
||||||
rlPhaseStartSetup
|
|
||||||
rlAssertRpm $PACKAGE
|
|
||||||
rlAssertRpm $PACKAGE-utils
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartTest
|
|
||||||
rlRun "libinput --help" 0 "libinput help exists cleanly"
|
|
||||||
rlRun "libinput --version" 0 "libinput version exists cleanly"
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartTest
|
|
||||||
rlRun "libinput quirks validate" 0 "libinput quirks parse "
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartTest
|
|
||||||
rlRun "libinput record --help" 0 "libinput record exists"
|
|
||||||
rlRun "libinput measure --help" 0 "libinput measure exists"
|
|
||||||
rlRun "libinput measure fuzz --help" 0 "libinput measure fuzz exists"
|
|
||||||
rlRun "libinput measure touch-size --help" 0 "libinput measure touch-size exists"
|
|
||||||
rlRun "libinput measure touchpad-pressure --help" 0 "libinput touchpad-pressure exists"
|
|
||||||
rlRun "libinput measure touchpad-tap --help" 0 "libinput touchpad-tap exists"
|
|
||||||
rlPhaseEnd
|
|
||||||
rlJournalPrintText
|
|
||||||
rlJournalEnd
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# check libinput is in the path, --help and --version need to work
|
|
||||||
libinput --help
|
|
||||||
libinput --version
|
|
||||||
|
|
||||||
# this should fail if the quirks failed to install
|
|
||||||
libinput quirks validate
|
|
||||||
|
|
||||||
# check the various tools exist
|
|
||||||
libinput record --help
|
|
||||||
libinput measure --help
|
|
||||||
libinput measure fuzz --help
|
|
||||||
libinput measure touch-size --help
|
|
||||||
libinput measure touchpad-pressure --help
|
|
||||||
libinput measure touchpad-tap --help
|
|
@ -1,5 +0,0 @@
|
|||||||
PURPOSE of libinput-tool
|
|
||||||
Description: Test for the libinput commandline tool
|
|
||||||
Author: Peter Hutterer <peter.hutterer@redhat.com>
|
|
||||||
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# check libinput is in the path, --help and --version need to work
|
|
||||||
libinput --help
|
|
||||||
libinput --version
|
|
||||||
|
|
||||||
# this should fail if the quirks failed to install
|
|
||||||
libinput quirks validate
|
|
||||||
|
|
||||||
# check the various tools exist
|
|
||||||
libinput record --help
|
|
||||||
libinput measure --help
|
|
||||||
libinput measure fuzz --help
|
|
||||||
libinput measure touch-size --help
|
|
||||||
libinput measure touchpad-pressure --help
|
|
||||||
libinput measure touchpad-tap --help
|
|
@ -1,56 +0,0 @@
|
|||||||
---
|
|
||||||
#- hosts: localhost
|
|
||||||
# roles:
|
|
||||||
# - role: standard-test-beakerlib
|
|
||||||
# tags:
|
|
||||||
# - classic
|
|
||||||
# tests:
|
|
||||||
# - libinput-tool-beakerlib
|
|
||||||
#
|
|
||||||
#- hosts: localhost
|
|
||||||
# roles:
|
|
||||||
# - role: standard-test-basic
|
|
||||||
# tags:
|
|
||||||
# - classic
|
|
||||||
# tests:
|
|
||||||
# - libinput-tool
|
|
||||||
#
|
|
||||||
#- hosts: localhost
|
|
||||||
# roles:
|
|
||||||
# - role: standard-test-scripts
|
|
||||||
# tags:
|
|
||||||
# - classic
|
|
||||||
# tests:
|
|
||||||
# - libinput-tool-scripttest/libinput-tool-test.sh
|
|
||||||
|
|
||||||
- hosts: localhost
|
|
||||||
roles:
|
|
||||||
# sigh, we need this separately because of
|
|
||||||
# https://pagure.io/standard-test-roles/issue/307 and
|
|
||||||
# https://pagure.io/standard-test-roles/issue/311
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
required_packages:
|
|
||||||
- meson
|
|
||||||
- gcc
|
|
||||||
- gcc-c++
|
|
||||||
- mtdev-devel
|
|
||||||
- libevdev-devel
|
|
||||||
- libwacom-devel
|
|
||||||
- check-devel
|
|
||||||
- systemd-devel
|
|
||||||
- valgrind
|
|
||||||
- python3-devel # for pathfix during srpm prep
|
|
||||||
tests:
|
|
||||||
- simple:
|
|
||||||
dir: .
|
|
||||||
run: test -f /usr/bin/pathfix.py
|
|
||||||
- role: standard-test-source
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
- role: standard-test-basic
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
tests:
|
|
||||||
- libinput-test-suite
|
|
Loading…
Reference in New Issue
Block a user