summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/graphics-magick/install.sh
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-12-28 17:44:29 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-12-28 17:44:29 -0500
commit812e20be9cb37c1c707ca92d49190d57f7bd2437 (patch)
treeac5fdb7092e42f2833cb71df6bff6ef476e5f52c /pts/test-resources/graphics-magick/install.sh
parent486e91b428110447076120e3760b96363b1a1877 (diff)
downloadphoronix-test-suite-upstream-812e20be9cb37c1c707ca92d49190d57f7bd2437.tar.gz
phoronix-test-suite-upstream-812e20be9cb37c1c707ca92d49190d57f7bd2437.tar.xz
phoronix-test-suite-upstream-812e20be9cb37c1c707ca92d49190d57f7bd2437.zip
pts: Add graphics-magick test profile for GraphicsMagick 1.3 image
testing
Diffstat (limited to 'pts/test-resources/graphics-magick/install.sh')
-rwxr-xr-xpts/test-resources/graphics-magick/install.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/pts/test-resources/graphics-magick/install.sh b/pts/test-resources/graphics-magick/install.sh
new file mode 100755
index 0000000..5444c3b
--- /dev/null
+++ b/pts/test-resources/graphics-magick/install.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+tar -xjf GraphicsMagick-1.3.3.tar.bz2
+
+THIS_DIR=$(pwd)
+mkdir $THIS_DIR/gm_
+
+cd GraphicsMagick-1.3.3/
+./configure --prefix=$THIS_DIR/gm_ > /dev/null
+make -j $NUM_CPU_JOBS
+make install
+cd ..
+rm -rf GraphicsMagick-1.3.3/
+
+echo "#!/bin/sh
+OMP_NUM_THREADS=\$NUM_CPU_CORES ./gm_/bin/gm benchmark -duration 60 convert \$TEST_EXTENDS/DSC_4185.JPG \$@ null: > \$LOG_FILE 2>&1" > graphics-magick
+chmod +x graphics-magick