autopkgtest with sample hello-world package.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

autopkgtest with sample hello-world package.

lakshmi pathi-2
Hi.

I'm just getting started with autopkgtests and created very basic
helloworld debian package [1].
Later tried to add autopkgtest into this package.  When I run
`autopkgtest -d /path/to/helloworld.deb -- null`
or `autopkgtest -d  -B /path/to/helloworld.deb -- null` it says
"autopkgtest: error: You must specify source
or click package to test"

I must be missing something pretty simple. Thanks for any help or pointers.

https://github.com/Lakshmipathi/helloworld
giis.co.in/helloworld.deb

----
Cheers,
Lakshmipathi.G
http://www.giis.co.in http://www.webminal.org http://www.btrfs.in

Reply | Threaded
Open this post in threaded view
|

Re: autopkgtest with sample hello-world package.

Ralf Treinen
On Thu, Nov 08, 2018 at 10:06:02PM +0530, Lakshmipathi.G wrote:

> or `autopkgtest -d  -B /path/to/helloworld.deb -- null` it says
> "autopkgtest: error: You must specify source

you have to run it on a source package, after having installed the binary
packages. Something like :

  autopkgtest -d  -B /path/to/helloworld.dsc -- null
                                         ^^^

-Ralf.

Reply | Threaded
Open this post in threaded view
|

Re: autopkgtest with sample hello-world package.

lakshmi pathi-2
> you have to run it on a source package, after having installed the binary
> packages. Something like :
>
>   autopkgtest -d  -B /path/to/helloworld.dsc -- null
>                                          ^^^
ah, okay thanks for the help, let me try it out.
----
Cheers,
Lakshmipathi.G
http://www.giis.co.in http://www.webminal.org http://www.btrfs.in