From 5d7c68948034964a9cb2ea9b85ae3c4904d72ab5 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Tue, 1 Jun 2021 04:44:44 +0300 Subject: [PATCH] Move QR recognition test to a separate file --- builder/image-validate.sh | 1 + builder/test/{qr.py => test_qr.py} | 0 builder/test/tests.py | 2 -- 3 files changed, 1 insertion(+), 2 deletions(-) rename builder/test/{qr.py => test_qr.py} (100%) diff --git a/builder/image-validate.sh b/builder/image-validate.sh index 237e198e..2e372fc1 100755 --- a/builder/image-validate.sh +++ b/builder/image-validate.sh @@ -25,6 +25,7 @@ cd /home/pi/catkin_ws/src/clover/builder/test/ ./tests.sh ./tests.py ./tests_py3.py +./test_qr.py [[ $(./tests_clever.py) == "Warning: clever package is renamed to clover" ]] # test backwards compatibility echo "Move /etc/ld.so.preload back to its original position" diff --git a/builder/test/qr.py b/builder/test/test_qr.py similarity index 100% rename from builder/test/qr.py rename to builder/test/test_qr.py diff --git a/builder/test/tests.py b/builder/test/tests.py index fc9bd971..319bdc64 100755 --- a/builder/test/tests.py +++ b/builder/test/tests.py @@ -29,5 +29,3 @@ import pigpio from pyzbar import pyzbar print(cv2.getBuildInformation()) - -from . import qr