Confusing output of the number of tests performed
When selecting a single test in the dbus test programs, the complete number of tests is still output which is confusing.
How to reproduce
- build dbus
- enter build dir
- run
test-bus test/data signals
The output is
# Test data in test/data
ok 2 # SKIP expire-list - Only intending to run signals
ok 3 # SKIP config-parser - Only intending to run signals
# Running test: signals
ok 4 - signals
# signals test took 1 seconds
ok 5 - signals did not leak memory
ok 6 # SKIP activation-service-reload - Only intending to run signals
ok 7 # SKIP unix-fds-passing - Only intending to run signals
# 7 tests passed
1..7
In particular, the message # 7 tests passed
is not really true. I think it should read
# Test data in test/data
ok 1 - initial nss query did not leak memory
# Running test: signals
ok 2 - signals
# signals test took 1 seconds
ok 3 - signals did not leak memory
# 3 tests passed
1..3