Server IP : 15.235.198.142 / Your IP : 216.73.216.14 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/modules/6.8.0-45-generic/build/tools/testing/selftests/hid/ |
Upload File : |
#!/bin/sh # SPDX-License-Identifier: GPL-2.0 # Runs tests for the HID subsystem if ! command -v python3 > /dev/null 2>&1; then echo "hid-tools: [SKIP] python3 not installed" exit 77 fi if ! python3 -c "import pytest" > /dev/null 2>&1; then echo "hid: [SKIP/ pytest module not installed" exit 77 fi if ! python3 -c "import pytest_tap" > /dev/null 2>&1; then echo "hid: [SKIP/ pytest_tap module not installed" exit 77 fi if ! python3 -c "import hidtools" > /dev/null 2>&1; then echo "hid: [SKIP/ hid-tools module not installed" exit 77 fi TARGET=${TARGET:=.} echo TAP version 13 python3 -u -m pytest $PYTEST_XDIST ./tests/$TARGET --tap-stream --udevd