diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2014-10-16 14:08:33 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2014-10-17 00:52:50 +0000 |
commit | 4a542d96a9ce1fc8b567eb853dac0baea64505a1 (patch) | |
tree | cae82eb62ed5e65b74eb1cc8870b5007d9864571 /apps/CameraITS/build/envsetup.sh | |
parent | 13bfb5b232321b3b7a69bab2e99c323c68675da3 (diff) | |
download | pdk-4a542d96a9ce1fc8b567eb853dac0baea64505a1.tar.gz |
camera2: Remove ITS from pdk apps.android-5.1.1_r5android-5.1.1_r28android-5.1.1_r22android-5.1.1_r17android-5.1.1_r12lollipop-mr1-wfc-releaselollipop-mr1-dev
Bug: 17994909
- ITS has been moved to cts/apps/CameraITS.
Change-Id: I57d00a9b1b08bed468cc48116f754a0c45d8612c
Diffstat (limited to 'apps/CameraITS/build/envsetup.sh')
-rw-r--r-- | apps/CameraITS/build/envsetup.sh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/apps/CameraITS/build/envsetup.sh b/apps/CameraITS/build/envsetup.sh deleted file mode 100644 index a95c445..0000000 --- a/apps/CameraITS/build/envsetup.sh +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 2013 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# This file should be sourced from bash. Sets environment variables for -# running tests, and also checks that a number of dependences are present -# and that the unit tests for the modules passed (indicating that the setup -# is correct). - -[[ "${BASH_SOURCE[0]}" != "${0}" ]] || \ - { echo ">> Script must be sourced with 'source $0'" >&2; exit 1; } - -command -v adb >/dev/null 2>&1 || \ - echo ">> Require adb executable to be in path" >&2 - -command -v python >/dev/null 2>&1 || \ - echo ">> Require python executable to be in path" >&2 - -python -V 2>&1 | grep -q "Python 2.7" || \ - echo ">> Require python 2.7" >&2 - -for M in numpy PIL Image matplotlib pylab -do - python -c "import $M" >/dev/null 2>&1 || \ - echo ">> Require Python $M module" >&2 -done - -export PYTHONPATH="$PWD/pymodules:$PYTHONPATH" - -for M in device objects image caps dng target error -do - python "pymodules/its/$M.py" 2>&1 | grep -q "OK" || \ - echo ">> Unit test for $M failed" >&2 -done - |