File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737
3838 - name : run hidapitester (Makefile)
3939 shell : bash
40- run : ./hidapitester --version && ./hidapitester --list 2>&1 || grep -q "No HID devices found"
40+ run : |
41+ ./hidapitester --version && output=$(./hidapitester --list 2>&1) || [[ "$output" == *"No HID devices found"* ]]
4142
4243 - name : Configure hidapitester with CMake
4344 run : |
4849 run : cmake --build build --config Release
4950
5051 - name : Run hidapitester (CMake)
51- run : ./build/hidapitester --version && ./hidapitester --list 2>&1 || grep -q "No HID devices found"
52+ run : |
53+ ./hidapitester --version && output=$(./hidapitester --list 2>&1) || [[ "$output" == *"No HID devices found"* ]]
5254 # (we need the grep guard because Linux runners no longer return any devices)
5355
5456 - name : Upload hidapitester artifacts (PR)
You can’t perform that action at this time.
0 commit comments