+ + Args: + props: Camera properties object. +++ -446,6 +446,33 props.has_key("") and \ props = 0 +def logical_multi_camera(props): + """Returns whether a device is a logical multi-camera. +++ -31,12 +31,19 -V 2>&1 | grep -q "Python 2.7" || \ echo "> Require python 2.7" >&2 -for M in numpy PIL Image matplotlib pylab scipy.stats scipy.spatial +for M in numpy PIL matplotlib scipy.stats scipy.spatial do python -c "import $M" >/dev/null 2>&1 || \ echo "> Require Python $M module" >&2 done +for N in 'PIL Image' 'matplotlib pylab' +do + IFS=' ' read module submodule /dev/null 2>&1 || \ + echo "> Require Python $module module $submodule submodule" >&2 +done + CV2_VER=$(python -c "\ try: import cv2 diff -git a/apps/CameraITS/pymodules/its/caps.py b/apps/CameraITS/pymodules/its/caps.py +++ -6,6 +6,8 tests/tests/print/ tests/tests/text/ + tests/tests/graphics/ tests/tests/transition/ + tests/tests/uirendering/ tests/tests/view/ tests/tests/widget/ diff -git a/apps/CameraITS/build/envsetup.sh b/apps/CameraITS/build/envsetup.sh ifneq ($(filter cts, $(MAKECMDGOALS)),) - $(call dist-for-goals, cts, $(cts-test-coverage-report):cts-test-coverage-report.html) - $(call dist-for-goals, cts, $(cts-verifier-coverage-report):cts-verifier-coverage-report.html) - $(call dist-for-goals, cts, $(cts-combined-coverage-report):cts-combined-coverage-report.html) - $(call dist-for-goals, cts, $(cts-combined-xml-coverage-report):cts-combined-coverage-report.xml) -endif +$(call dist-for-goals, cts, $(cts-test-coverage-report):cts-test-coverage-report.html) +$(call dist-for-goals, cts, $(cts-verifier-coverage-report):cts-verifier-coverage-report.html) +$(call dist-for-goals, cts, $(cts-combined-coverage-report):cts-combined-coverage-report.html) +$(call dist-for-goals, cts, $(cts-combined-xml-coverage-report):cts-combined-coverage-report.xml) # Arguments # 1 - Name of the report printed out on the screen diff -git a/PREUPLOAD.cfg b/PREUPLOAD.cfg +++ -95,12 +95,10 : $(cts-combined-xml-coverage-report) # Put the test coverage report in the dist dir if "cts" is among the build goals.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |