#263 Makefile *pwm check not working

This commit is contained in:
mstroh76
2024-08-30 20:38:31 +02:00
parent 7e1a168e12
commit bf8be468b2

View File

@@ -54,7 +54,7 @@ test:
@error_state=false ; \
for t in $(tests) ; do \
echo === unit test: $${t} === ; \
if [ $${t} = *"pwm" ]; then \
if [ $${t} = *"8_pwm" ] || [ $${t} = *"9_pwm" ]; then \
time sudo ./$${t} ; \
else \
time ./$${t} ; \
@@ -74,7 +74,7 @@ xotest:
@error_state=false ; \
for t in $(tests) $(xotests) ; do \
echo === XO unit test: $${t} === ; \
if [ $${t} = *"pwm" ]; then \
if [ $${t} = *"8_pwm" ] || [ $${t} = *"9_pwm" ]; then \
time sudo ./$${t} ; \
else \
time ./$${t} ; \
@@ -94,7 +94,7 @@ pifacetest:
@error_state=false ; \
for t in $(tests) $(pifacetests) ; do \
echo === PiFace unit test: $${t} === ; \
if [ $${t} = *"pwm" ]; then \
if [ $${t} = *"8_pwm" ] || [ $${t} = *"9_pwm" ]; then \
time sudo ./$${t} ; \
else \
time ./$${t} ; \