Bug#855945: pyfg: no tests discovered

2017-02-23 Thread Vincent Bernat
 ❦ 23 février 2017 18:08 -0500, Sandro Tosi  :

>> pybuild tries to run tests unconditionnaly. I don't really want to add
>> code in debian/rules just to skip tests.
>
> funny you did that in napalm-iosxr: export PYBUILD_DISABLE=test

There are tests and they require some virtual machine to run.
-- 
If two people love each other, there can be no happy end to it.
-- Ernest Hemingway


signature.asc
Description: PGP signature


Bug#855945: pyfg: no tests discovered

2017-02-23 Thread Sandro Tosi
On Thu, Feb 23, 2017 at 12:19 PM, Vincent Bernat  wrote:
> pybuild tries to run tests unconditionnaly. I don't really want to add
> code in debian/rules just to skip tests.

funny you did that in napalm-iosxr: export PYBUILD_DISABLE=test


-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



Bug#855945: pyfg: no tests discovered

2017-02-23 Thread Vincent Bernat
 ❦ 23 février 2017 12:05 -0500, Sandro Tosi  :

>> There is no tests in the package. Not sure what the bug is?
>
> i guess you can skip even attempting to run tests then?

pybuild tries to run tests unconditionnaly. I don't really want to add
code in debian/rules just to skip tests.
-- 
October 12, the Discovery.

It was wonderful to find America, but it would have been more wonderful to miss
it.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"


signature.asc
Description: PGP signature


Bug#855945: pyfg: no tests discovered

2017-02-23 Thread Sandro Tosi
On Thu, Feb 23, 2017 at 11:57 AM, Vincent Bernat  wrote:
> There is no tests in the package. Not sure what the bug is?

i guess you can skip even attempting to run tests then?

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi



Bug#855945: pyfg: no tests discovered

2017-02-23 Thread Vincent Bernat
 ❦ 23 février 2017 11:35 -0500, Sandro Tosi  :

> Source: pyfg
> Version: 0.47-1
> Severity: minor
>
> Hello,
> while rebuilding this in Jessie:
>
> ```
>dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:170: cd /build/pyfg-0.47/.pybuild/pythonX.Y_2.7/build; 
> python2.7 -m unittest discover -v
>
> --
> Ran 0 tests in 0.000s
>
> OK
> ```

There is no tests in the package. Not sure what the bug is?
-- 
Make sure comments and code agree.
- The Elements of Programming Style (Kernighan & Plauger)


signature.asc
Description: PGP signature


Bug#855945: pyfg: no tests discovered

2017-02-23 Thread Sandro Tosi
Source: pyfg
Version: 0.47-1
Severity: minor

Hello,
while rebuilding this in Jessie:

```
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:170: cd /build/pyfg-0.47/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m unittest discover -v

--
Ran 0 tests in 0.000s

OK
```

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)