Results 1 to 2 of 2

Thread: Patch for etqw-demo (now works)

  1. #1
    Join Date
    Apr 2008
    Location
    York, UK
    Posts
    134

    Default 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. #2

    Default

    Submitted to git, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •