summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/icccheckfile.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-06 19:19:19 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-06 19:19:19 +0300
commite84760c24b479ae735cc64e72cd4a42551fba7a8 (patch)
treef4fdfb58ee4f41919fd4bf73f1745f29c4cfaecc /tools/ci/scripts/icccheckfile.sh
parentbcdbc39b6efe7391866c81ef82a2e9358b6c3ff4 (diff)
downloadplus-e84760c24b479ae735cc64e72cd4a42551fba7a8.tar.gz
plus-e84760c24b479ae735cc64e72cd4a42551fba7a8.tar.bz2
plus-e84760c24b479ae735cc64e72cd4a42551fba7a8.tar.xz
plus-e84760c24b479ae735cc64e72cd4a42551fba7a8.zip
Add ci test for image icc profiles.
Diffstat (limited to 'tools/ci/scripts/icccheckfile.sh')
-rwxr-xr-xtools/ci/scripts/icccheckfile.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/ci/scripts/icccheckfile.sh b/tools/ci/scripts/icccheckfile.sh
new file mode 100755
index 000000000..5dfd2f80f
--- /dev/null
+++ b/tools/ci/scripts/icccheckfile.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+identify -verbose $1 | grep profile >/dev/null
+
+if [ "$?" == 0 ]; then
+ echo "ICC profile found for image $1"
+fi