Re: [autotest] [PATCH 1/6] add ebizzy in autotest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So is there any plan for adding this patch set in the patch queue? I
would love to incorporate all the comments if any.

On Wed, Jul 8, 2009 at 1:47 PM, sudhir kumar<smalikphy@xxxxxxxxx> wrote:
> This patch adds the wrapper for ebizzy into autotest. here is the link
> to get a copy of the test tarball.
> http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
>
> Please review the patch and provide your comments.
>
>
> Signed-off-by: Sudhir Kumar <skumar@xxxxxxxxxxxxxxxxxx>
>
> Index: autotest/client/tests/ebizzy/control
> ===================================================================
> --- /dev/null
> +++ autotest/client/tests/ebizzy/control
> @@ -0,0 +1,11 @@
> +NAME = "ebizzy"
> +AUTHOR = "Sudhir Kumar <skumar@xxxxxxxxxxxxxxxxxx>"
> +TIME = "MEDIUM, VARIABLE"
> +TEST_CATEGORY = "FUNCTIONAL"
> +TEST_CLASS = "SYSTEM STRESS"
> +TEST_TYPE = "CLIENT"
> +DOC = """
> +http://sourceforge.net/project/platformdownload.php?group_id=202378&sel_platform=3809
> +"""
> +
> +job.run_test('ebizzy', args = '-vv')
> Index: autotest/client/tests/ebizzy/ebizzy.py
> ===================================================================
> --- /dev/null
> +++ autotest/client/tests/ebizzy/ebizzy.py
> @@ -0,0 +1,32 @@
> +import os
> +from autotest_lib.client.bin import utils, test
> +from autotest_lib.client.common_lib import error
> +
> +class ebizzy(test.test):
> +    version = 3
> +
> +    def initialize(self):
> +        self.job.require_gcc()
> +
> +
> +    # http://sourceforge.net/project/downloading.php?group_id=202378&filename=ebizzy-0.3.tar.gz
> +    def setup(self, tarball = 'ebizzy-0.3.tar.gz'):
> +        tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
> +        utils.extract_tarball_to_dir(tarball, self.srcdir)
> +        os.chdir(self.srcdir)
> +
> +        utils.system('[ -x configure ] && ./configure')
> +        utils.system('make')
> +
> +
> +    # Note: default we use always mmap()
> +    def run_once(self, args = '', num_chunks = 1000, chunk_size =
> 512000, seconds = 100, num_threads = 100):
> +
> +        #TODO: Write small functions which will choose many of the above
> +        # variables dynamicaly looking at guest's total resources
> +        logfile = os.path.join(self.resultsdir, 'ebizzy.log')
> +        args2 = '-m -n %s -P -R -s %s -S %s -t %s' % (num_chunks,
> chunk_size, seconds, num_threads)
> +        args = args + ' ' + args2
> +
> +        cmd = os.path.join(self.srcdir, 'ebizzy') + ' ' + args
> +        utils.system(cmd)
>
>
> --
> Sudhir Kumar
>



-- 
Sudhir Kumar
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux