summaryrefslogtreecommitdiffstats
path: root/pts/test-resources
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:36:56 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:36:56 -0400
commit9be806cb4f885323059a083f323bbe8efa10b88d (patch)
treec808d2445d6e4845b619f8eb5a43d1c178c2eb49 /pts/test-resources
parent9689d43b1b4b645fd50952ca53eaac849cbbc8c3 (diff)
downloadphoronix-test-suite-upstream-9be806cb4f885323059a083f323bbe8efa10b88d.tar.gz
phoronix-test-suite-upstream-9be806cb4f885323059a083f323bbe8efa10b88d.tar.xz
phoronix-test-suite-upstream-9be806cb4f885323059a083f323bbe8efa10b88d.zip
pts: Fixes for video profile previous commit
Diffstat (limited to 'pts/test-resources')
-rw-r--r--pts/test-resources/base/video-sample/downloads.xml4
-rw-r--r--pts/test-resources/base/video-sample/install.sh3
-rwxr-xr-xpts/test-resources/video-extensions/install.sh2
3 files changed, 7 insertions, 2 deletions
diff --git a/pts/test-resources/base/video-sample/downloads.xml b/pts/test-resources/base/video-sample/downloads.xml
index 3675ca3..c4c74ad 100644
--- a/pts/test-resources/base/video-sample/downloads.xml
+++ b/pts/test-resources/base/video-sample/downloads.xml
@@ -4,6 +4,10 @@
<URL>http://www.phoronix-test-suite.com/benchmark-files/pts-trondheim-avi.tar.bz2, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/pts-trondheim-avi.tar.bz2</URL>
<MD5>c91aa7b412f32c0f2b616ebfe2f261ad</MD5>
</Package>
+ <Package>
+ <URL>http://www.phoronix-test-suite.com/benchmark-files/pts-sample-playback-1.avi.tar.bz2, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/pts-sample-playback-1.avi.tar.bz2</URL>
+ <MD5>cb1e4775e9970ed31d346be804d0fe1c</MD5>
+ </Package>
</Downloads>
</PhoronixTestSuite>
diff --git a/pts/test-resources/base/video-sample/install.sh b/pts/test-resources/base/video-sample/install.sh
index c0fe09d..43f5c3b 100644
--- a/pts/test-resources/base/video-sample/install.sh
+++ b/pts/test-resources/base/video-sample/install.sh
@@ -1,4 +1,5 @@
#!/bin/sh
-tar -xvf ../pts-shared/pts-trondheim-avi.tar.bz2
+tar -xvf pts-trondheim-avi.tar.bz2
+tar -xvf pts-sample-playback-1.avi.tar.bz2
# mv pts-trondheim-1.avi pts-trondheim.avi
diff --git a/pts/test-resources/video-extensions/install.sh b/pts/test-resources/video-extensions/install.sh
index 8b48d3c..c1fa551 100755
--- a/pts/test-resources/video-extensions/install.sh
+++ b/pts/test-resources/video-extensions/install.sh
@@ -22,7 +22,7 @@ foreach($extensions_to_check as $extension)
{
echo "Checking Video Output For: $extension\n";
$start_time = time();
- echo shell_exec("./mplayer_/bin/mplayer -vo $extension -ao null $TEST_EXTENDS/pts-sample-playback-1.avi");
+ echo shell_exec("./mplayer_/bin/mplayer -vo $extension -ao null " . getenv("TEST_EXTENDS") . "/pts-sample-playback-1.avi");
$end_time = time();
$time_diff = $end_time - $start_time;