Re: unit test generator for shared C/C++ library API

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



I looked at the download to see how hard this would be, and all it is is
the license (GPL) and a perl script. Does the package just need to copy
the perl script to /usr/bin? If so, I've attached a PKGBUILD and I can
upload it to the AUR if it's correct.

On 02/16/2010 10:21 AM, kludge wrote:
> d.i.y: http://wiki.archlinux.org/index.php/Creating_Packages
>
> On 02/16/2010 11:03 AM, Andrey Ponomarenko wrote:
>   
>> Dear colleagues,
>>
>> Linux Verification Center at the Institute for System Programming of RAS
>> and the Linux Foundation have released a free unit test generator for
>> shared C/C++ library API. It helps to quickly generate simple ("sanity"
>> or "shallow"-quality) tests for all functions from the library API using
>> their signatures and data type definitions straight from the library
>> header files. The quality of generated tests allows to check absence of
>> critical errors in simple use cases and can be improved by involving of
>> highly reusable specialized types for the library.
>>
>> This tool can execute generated tests and detect all kinds of emitted signals,
>> early program exits, program hanging and specified requirement failures.
>> It can be considered as a tool for low-cost sanity checking of library API
>> or as a powerful test development framework. Also it supports universal
>> Template2Code format of tests, random test generation mode and other useful
>> features. This tool is free software: you can redistribute it and/or modify
>> it under the terms of the GNU GPLv2.
>>
>> We suppose this tool can be very useful for shared library developers
>> and recommend it for including to Arch Linux.
>>
>> For more information, please see: 
>> http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest
>>
>> Andrey Ponomarenko
>> Linux Verification Center at the Institute for System Programming of RAS
>>
>>
>>     
>   

# Maintainer: Brendan Long <korin43@xxxxxxxxx>

pkgname=api-sanity-autotest
pkgver=1.5
pkgrel=1
pkgdesc="A test generator for shared C/C++ libraries in Linux."
url='http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest'
license=('GPL2')
depends=()
arch=('i686' 'x86_64')
source=("http://ispras.linux-foundation.org/images/3/3f/Api-sanity-autotest-$pkgver.tar.gz";)
sha512sums=('322794ad98179182cdb52e62c7ded0a65b0edb75e259226a927793871e18ee0cc2d95204971d2d7f3f86cc0110bc434a68362ac0e35c208bfff84cf3968cf1f1')

build() {
  install -d $pkgdir/usr/bin
  install $srcdir/$pkgname-$pkgver/api-sanity-autotest.pl $pkgdir/usr/bin/api-sanity-autotest.pl
}

[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux