File tree Expand file tree Collapse file tree 2 files changed +11
-18
lines changed
board/funkey/rootfs-overlay/usr/local/sbin Expand file tree Collapse file tree 2 files changed +11
-18
lines changed Original file line number Diff line number Diff line change @@ -99,24 +99,17 @@ function launch_tests_up_until_magnet {
9999 echo " OK"
100100 sync
101101
102- # # Check if battery present
103- if [[ $( cat /sys/class/power_supply/axp20x-battery/present) == " 0" ]]; then
104-
105- # # Launch screen to wait for battery
106- echo " TEST BATTERY:"
107- sync
108- $PROD_SCREEN_BIN WAIT_BATTERY 2>&1
109- res=" $? "
110- echo " $res "
111- if [[ " $res " == " 0" ]]; then
112- echo " OK"
113- else
114- echo " FAIL"
115- test_failed=true
116- fi
117- else
118- echo " TEST BATTERY:"
102+ # # Battery tests
103+ echo " TEST BATTERY:"
104+ sync
105+ $PROD_SCREEN_BIN WAIT_BATTERY 2>&1
106+ res=" $? "
107+ echo " $res "
108+ if [[ " $res " == " 0" ]]; then
119109 echo " OK"
110+ else
111+ echo " FAIL"
112+ test_failed=true
120113 fi
121114 sync
122115
Original file line number Diff line number Diff line change 44#
55# ###############################################################################
66
7- PRODSCREENS_VERSION = FunKey-ProdScreens-FunKey-1.1.1
7+ PRODSCREENS_VERSION = 428290b
88PRODSCREENS_SITE_METHOD = git
99PRODSCREENS_SITE = https://github.com/FunKey-Project/FunKey-ProdScreens.git
1010PRODSCREENS_SITE_LICENSE = GPL-2.1+
You can’t perform that action at this time.
0 commit comments