Announcement

Collapse
No announcement yet.

Patch for etqw-demo (now works)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Patch for etqw-demo (now works)

    Thanks to the notes posted by niackho here: http://www.phoronix.com/forums/showthread.php?t=9850 I've fixed the etqw-demo profile so that it now works and conforms to the profile guidelines
    Code:
    diff --git a/pts/test-profiles/etqw-demo.xml b/pts/test-profiles/etqw-demo.xml
    index a8a7242..fcfa5ad 100644
    --- a/pts/test-profiles/etqw-demo.xml
    +++ b/pts/test-profiles/etqw-demo.xml
    @@ -1,11 +1,13 @@
     <PhoronixTestSuite>
            <TestProfile>
    -               <Version>0.3</Version>
    +               <Version>0.4</Version>
                    <TestType>Graphics</TestType>
                    <SoftwareType>Game</SoftwareType>
                    <License>NON-FREE</License>
    -               <Status>UNKNOWN</Status>
    +               <Status>VERIFIED</Status>
                    <Maintainer>Michael Larabel</Maintainer>
    +               <DownloadSize>660</DownloadSize>
    +               <EnvironmentSize>763</EnvironmentSize>
            </TestProfile>
            <TestInformation>
                    <Title>Enemy Territory: Quake Wars</Title>
    @@ -18,7 +20,7 @@
            </TestInformation>
            <TestSettings>
                    <Default>
    -                       <Arguments>+timenetdemoquit pts +set r_mode -1</Arguments>
    +                       <Arguments>+timenetdemo pts +set r_mode -1 +set in_tty 0 +wait 2751 +quit</Arguments>
                    </Default>
                    <Option>
                            <DisplayName>Video RAM</DisplayName>
    diff --git a/pts/test-resources/etqw-demo/install.sh b/pts/test-resources/etqw-demo/install.sh
    index bf35cf6..0105239 100755
    --- a/pts/test-resources/etqw-demo/install.sh
    +++ b/pts/test-resources/etqw-demo/install.sh
    @@ -2,19 +2,11 @@
    
     cd $1
    
    -if [ ! -f ETQW-demo2-client-full.r1.x86.run ]
    -  then
    -     wget ftp://ftp.idsoftware.com/idstuff/etqw/ETQW-demo2-client-full.r1.x86.run -O ETQW-demo2-client-full.r1.x86.run
    -fi
    -if [ ! -f etqw-demo-demo.tar.bz2 ]
    -  then
    -     wget http://www.phoronix-test-suite.com/benchmark-files/etqw-demo-demo-1.tar.bz2 -O etqw-demo-demo.tar.bz2
    -fi
    -
     unzip -o ETQW-demo2-client-full.r1.x86.run
    
     echo "#!/bin/sh
    -cd data/\n./etqw.x86 \$@ | grep fps" > etqw
    +cd data/
    +./etqw.x86 \$@ | grep fps" > etqw
     chmod +x etqw
    
     tar -jxvf etqw-demo-demo.tar.bz2
    New file: downloads.xml
    Code:
    <PhoronixTestSuite>
        <Downloads>
            <Package>
                <URL>ftp://ftp.idsoftware.com/idstuff/etqw/ETQW-demo2-client-full.r1.x86.run</URL>
                <MD5>11f5a882127a917b6c8b648ffa22da74</MD5>
            </Package>
            <Package>
                <URL>http://www.phoronix-test-suite.com/benchmark-files/etqw-demo-demo-1.tar.bz2</URL>
                <MD5>8e34dd23b026e901f56183992cebf222</MD5>
            </Package>
        </Downloads>
    </PhoronixTestSuite>

  • #2
    Submitted to git, thanks.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment

    Working...
    X